-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix flakey tests #1322
Comments
The |
Got some interesting new failures here: https://travis-ci.org/caolan/async/builds/220394697 Don't know what happened in the first
|
|
|
|
|
|
The concat error might be on me?
|
|
I'm this close 👌 to just disabling the firefox tests. They're the only tests that are flakey these days, probably due to limited CPU resources in Travis causing timeouts to not fire predictably. |
|
|
|
|
|
Tests have been pretty solid after that browser CI PR. We can re-open if we find other flaky tests. |
Several of the tests (especially in the queue test suite) fail quite frequently. This is due to
setTimeout
timing issues. We could sort of address this by increasing the delays but that isn't a proper solution. These tests probably just need rewrites.These issues have been observed several times in the past
I created PR #1321 as a stopgap, to alleviate some of the issues a bit by retrying the flakier tests when they fail. All
retries
we implement should be removed along with this fix for this issue as retries in unit tests are really ugly and may be masking other issues with the library.Note: this may be difficult to reproduce on your local system. I've mainly noticed it in simulated environments with slower systems causing
setTimeout
calls to be delayed. Systems like travis/sauce fail quite frequentlyThe text was updated successfully, but these errors were encountered: