-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-130730: Fix multiprocessing test_active_children() #130837
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
Conversation
Replace a sleep with an event: sleep is not a reliable synchronization primitive.
On Windows, I can easily reproduce the issue with: With this change, I cannot reproduce the issue anymore. I ran the test for 3 minutes (565 iterations). |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
GH-130845 is a backport of this pull request to the 3.13 branch. |
GH-130846 is a backport of this pull request to the 3.12 branch. |
…30837) Replace a sleep with an event: sleep is not a reliable synchronization primitive.
Replace a sleep with an event: sleep is not a reliable synchronization primitive.
test_active_children
multiprocessing test is flaky #130730