]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-130954: Fix multiprocessing test_notify_n (GH-130955) (#130982)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Mar 2025 18:21:37 +0000 (19:21 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Mar 2025 18:21:37 +0000 (18:21 +0000)
commit4eb4785afd89ee407532fd72aa411fed109f5e8f
tree971b39c853bd036ff16b3eb85e7ca7be494193c1
parentd128edb0eca01e42219f0e216afce992917c29d3
[3.12] gh-130954: Fix multiprocessing test_notify_n (GH-130955) (#130982)

The test could deadlock trying join on the worker processes.
Apply the same technique as gh-130933.

Join the process before the test ends in `test_notify` as well.
(cherry picked from commit edd1eca336976b3431cf636aea87f08a40c94935)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Lib/test/_test_multiprocessing.py