]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130954: Fix multiprocessing test_notify_n (GH-130955) (#130981)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 8 Mar 2025 18:28:07 +0000 (19:28 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Mar 2025 18:28:07 +0000 (18:28 +0000)
commitfead51d80834c978d6d7d0120db803bfd4343777
tree98dca9cd70c2a2326eedd455ca7eac223e686b65
parent14230cd96cd9275e98965def7907979c0ad9f024
[3.13] gh-130954: Fix multiprocessing test_notify_n (GH-130955) (#130981)

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