Skip to content

[3.13] gh-130737: Fix multiprocessing test_notify() (GH-130797) #130802

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

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 3, 2025

Replace hardcoded delay (100 ms) with a loop awaiting until a
condition is true: replace assertReturnsIfImplemented() with
assertReachesEventually().

Use sleeping_retry() in assertReachesEventually() to tolerate slow
buildbots and raise an exception on timeout (30 seconds).
(cherry picked from commit 8a64a62)

Co-authored-by: Victor Stinner [email protected]

Replace hardcoded delay (100 ms) with a loop awaiting until a
condition is true: replace assertReturnsIfImplemented() with
assertReachesEventually().

Use sleeping_retry() in assertReachesEventually() to tolerate slow
buildbots and raise an exception on timeout (30 seconds).
(cherry picked from commit 8a64a62)

Co-authored-by: Victor Stinner <[email protected]>
@miss-islington miss-islington requested a review from gpshead as a code owner March 3, 2025 18:45
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Mar 3, 2025
@vstinner vstinner enabled auto-merge (squash) March 3, 2025 18:48
@vstinner vstinner merged commit d00e92b into python:3.13 Mar 3, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants