-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-136394: Fix race condition in test_zstd #136432
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
gh-136394: Fix race condition in test_zstd #136432
Conversation
!buildbot nogil |
🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit 81a1bd7 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F136432%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buildbots are happy!
I also ran the tests 5000 times with this change and found no failures |
I also checked in the conditions in which I was able to trigger the issue within a few dozen tries on my machine before the PR, and the issue did not show within 5000 tries with the code from this PR. So I would say that this fix works as indented, your idea @emmatyping was a good call! |
Thanks @Rogdham for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
(cherry picked from commit f519918) Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
GH-136506 is a backport of this pull request to the 3.14 branch. |
Apply a suggestion of @emmatyping to solve the race condition identified in gh-136394:
Needs backport to 3.14 only.