-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 AppVeyor test HTML: should support bundling HTML fails #219
Comments
Hello @DeMoorJasper! I have this problem and seems to be an indeterministic test. Here's some output from ~10 runs of About half fail. Also seen problems with
|
This was a mistake indeed, (didn’t accure the day i closed it) Sent with GitHawk |
I've looked into this but need more information. In fc8ce69#diff-08e28e98a118d512b13f4fc7423da77aR668 the HTML test is introduced, and the integration fixtures looks looks like
Both
Describing a tree where This may be correct behavior. However, given this integration fixture structure, the I have found the following discrepant behaviors to occur frequently (>50% of test runs).
js bundle being of
Without me knowing too much about the internals I can't draw any conclusions now. I believe @devongovett is the original author of this test so should be able to shine some light on it. |
I've identified this issue. We'll need to decide:
Explanation: The following block of code is nondeterministic, and is causing the test failures: Lines 326 to 340 in c008bb0
The above code spins up a set of promises, each of which alters the same When the test passes, Since a Lines 393 to 396 in c008bb0
|
Reproduction Steps: You can impose an artificial delay in order to consistently reproduce this locally: dependencies.map(async dep => {
if (~dep.name.indexOf('other')) await new Promise(r => setTimeout(r, 500)); // add
let assetDep = await this.resolveDep(asset, dep); This should result in the test in question failing. |
Should be fixed by 539ade1 |
🐛 bug report
On AppVeyor i can see this test is lately failing a lot.
🎛 Configuration (.babelrc, package.json, cli command)
AppVeyor config of this Repo
🤔 Expected Behavior
Should pass
😯 Current Behavior
Doesn't pass
The text was updated successfully, but these errors were encountered: