]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44287: asyncio test_popen() uses longer timeout (GH-26832)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Jun 2021 00:22:02 +0000 (17:22 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Jun 2021 00:22:02 +0000 (17:22 -0700)
commitc032a12cbb7d6e2d6a292b0e9220c33ef7349d28
tree83fed564a81ee0b86b0a5d13299d65638b99c09f
parent1e16217204c0e8e595c4d1e869c81899bfe3376b
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.
(cherry picked from commit be1cb3214d09d4bf0288bc45f3c1f167f67e4514)

Co-authored-by: Victor Stinner <vstinner@python.org>
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]