]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44287: asyncio test_popen() uses longer timeout (GH-26832)
authorVictor Stinner <vstinner@python.org>
Mon, 21 Jun 2021 23:58:19 +0000 (01:58 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Jun 2021 23:58:19 +0000 (01:58 +0200)
commitbe1cb3214d09d4bf0288bc45f3c1f167f67e4514
tree9e5ce135b8db9547c3689d88b5140d5eecd905ca
parent51f45d085dad3b708f6fe166af517aba69e7e9f7
bpo-44287: asyncio test_popen() uses longer timeout (GH-26832)

Fix asyncio test_popen() of test_windows_utils by using a longer
timeout. Use military grade battle-tested test.support.SHORT_TIMEOUT
timeout rather than a hardcoded timeout of 10 seconds: it's 30
seconds by default, but it is made longer on slow buildbots.

WaitForMultipleObjects() timeout argument is in milliseconds.
Lib/test/test_asyncio/test_windows_utils.py
Misc/NEWS.d/next/Tests/2021-06-21-17-53-41.bpo-44287.YON57s.rst [new file with mode: 0644]