Skip to content

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

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-8a64a62-3.13
Mar 3, 2025
Merged

[3.13] gh-130737: Fix multiprocessing test_notify() (GH-130797)#130802
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-8a64a62-3.13

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

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 vstinner@python.org

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 <vstinner@python.org>
@bedevere-appbedevere-appBot 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.13Mar 3, 2025
@miss-islington
miss-islington deleted the backport-8a64a62-3.13 branch January 2, 2026 16:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dirtopic-multiprocessing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@vstinner