]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH...
authorPablo Galindo <Pablogsal@gmail.com>
Sat, 29 Dec 2018 01:40:21 +0000 (01:40 +0000)
committerGitHub <noreply@github.com>
Sat, 29 Dec 2018 01:40:21 +0000 (01:40 +0000)
commit5471420faa84519530f29b08f2b042b2288e3e96
treedfb5854eea44c85f52ed078616927f89554f6340
parent4bc246786f003cdf1fffb3403b4cd92fc42ba9ef
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.
Lib/test/test_asyncio/test_events.py