]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-130730: Fix multiprocessing test_active_children() (GH-130837) (#130846)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Mar 2025 17:22:12 +0000 (18:22 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 17:22:12 +0000 (17:22 +0000)
commit45e667c7c2d4fda27dbf59be74160a1d5c93c79d
treed30312381cc12f935b62f61fa4b1514c62fad5b1
parent50270fc9803283d9a7d12731e6d84012f3ef7b32
[3.12] gh-130730: Fix multiprocessing test_active_children() (GH-130837) (#130846)

gh-130730: Fix multiprocessing test_active_children() (GH-130837)

Replace a sleep with an event: sleep is not a reliable
synchronization primitive.
(cherry picked from commit 3dd3675492a3fc3b7996613ef75a9044ee7449b0)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/_test_multiprocessing.py