-
Notifications
You must be signed in to change notification settings - Fork 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
The UpdaterService test is flaky #46255
Comments
@sharwell, @JoeRobich fyi |
This has failed 42 times in the last 14 days and has a pass rate of 95.66%. |
This failure is caused by a race condition between four operations:
I derived a sequence for deterministic failure by working back from the following observations:
From (2), we know that the fourth "Enqueue" operation completed before the third "Wait" operation (i.e. the fourth enqueue operation returned early from the This leads to the following sequence:
During the final step of this sequence, there is no pending work for either the |
WHat are you feelings on just burning this to the ground and replacing with something much simpler, versus patching in place like you've done? This seems liek a super complex beast for what is conceptually such a simple component (i.e. a throttled, pausable, sequence of work). |
I feel confident the PR I submitted resolves the race condition here, and time would be better spent on resolving the other issues from #46255 (comment) than rewriting this. |
Builds
Configurations
The text was updated successfully, but these errors were encountered: