-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
5.10: test waiters broken? #20724
Comments
This matches what i've been seeing in other open source repos, too |
I noticed the same in one app. The The tests are working as expected with |
Looks like it may have been the legacy waiters that broke: @jelhan do you have a minimal repro of the click resolving too early? |
Sadly not. I expect reproducing is not that easy. Only 2 out of many tests in the app are affected. Aren't the failing tests in |
they are, it's just test-helpers don't exactly provide minimal reproductions -- there is a lot of its own code to wade through as we look at the underling low level waiter infra. Been bisecting ember-source, but I fell in to a local minima,
which seems like it was fixed later. # on main
git bisect start
git bisect bad
git bisect good c7508cc64fdd416962aa47cb963ed36d033eb8cf Looks like we've arrived at: ea61442
Gonna run the bisect again, to make extra sure, but this time with narrower range # on main
git bisect start
git bisect bad ea6144251b919db1af5e8c96e2a6de77026e1ac2
git bisect good c7508cc64fdd416962aa47cb963ed36d033eb8cf which re-confirms that ea61442 is what broke waiters -- so now we can start to poke around that set of changes |
#20726 should be a complete fix for this. |
This should be fixed in v5.10.2 and in v5.11.0-beta.2 |
I can confirm that v5.10.2 is working as expected in the app which was affected by the bug before. |
🐞 Describe the Bug
After upgrading the crates.io codebase from 5.9 to 5.10 several tests started failing for no apparent reason. It looks like the test waiters are not working as intended and are causing the tests to be flaky. When I run the test suite locally the subset of failing tests is different from CI, which indicates that race conditions might be responsible.
🔬 Minimal Reproduction
see rust-lang/crates.io#9035
😕 Actual Behavior
Previously succeeding tests are failing.
🤔 Expected Behavior
Previously succeeding tests should keep passing, if the test waiter system is used correctly.
🌍 Environment
➕ Additional Context
The text was updated successfully, but these errors were encountered: