]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109582: test_fork_signal_handling should wait for event (#109605)
authorDavide Rizzo <sorcio@gmail.com>
Thu, 21 Sep 2023 21:20:29 +0000 (23:20 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 21:20:29 +0000 (23:20 +0200)
commit608c1f3083ea1e06d383ef1a9878a9758903de4b
treec4d378bf0ffa4931175c38a85b4800c98d9243ee
parent2aceb21ae61b4648b47afd9f8fdba8c106a745d0
gh-109582: test_fork_signal_handling should wait for event (#109605)

Sometimes the child_handled event was missing because either
the child quits before it gets a chance to handle the signal,
or the parent asserts before the event notification is
delivered via IPC.  Synchronize explicitly to avoid this.
Lib/test/test_asyncio/test_unix_events.py