Skip to content

[3.12] gh-109582: test_fork_signal_handling should wait for event (GH-109605)#109695

Merged
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-608c1f3-3.12
Oct 2, 2023
Merged

[3.12] gh-109582: test_fork_signal_handling should wait for event (GH-109605)#109695
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-608c1f3-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Sep 21, 2023

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.
(cherry picked from commit 608c1f3)

Co-authored-by: Davide Rizzo sorcio@gmail.com

…honGH-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.
(cherry picked from commit 608c1f3)

Co-authored-by: Davide Rizzo <sorcio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants