]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Dec 2018 02:01:00 +0000 (18:01 -0800)
committerGitHub <noreply@github.com>
Sat, 29 Dec 2018 02:01:00 +0000 (18:01 -0800)
commit8f9228dd3a37c98876c9c8ff7fb0042650303474
tree6bd3ed40fcb553fc1c0689a8975b747b9bcd78ee
parent95dc4577c3a1bb12978de5234aaf07839f4d7844
bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337)

There is a race condition regarding signal delivery in test_signal_handling_args for
test_asyncio.test_events.KqueueEventLoopTests. The signal can be received at any moment outside the time window provided in the test. The fix is to wait for the signal to be received instead with a bigger timeout.
(cherry picked from commit 5471420faa84519530f29b08f2b042b2288e3e96)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/test/test_asyncio/test_events.py