]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37531: regrtest ignores output on timeout (GH-16659)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 9 Oct 2019 13:52:34 +0000 (06:52 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 13:52:34 +0000 (06:52 -0700)
commit598bfa4d457d61431142ad99ecbb9bd10cf314e6
tree4fce3a5695c90a56b8df417bb6bc2940f60fdffe
parent0b354fc2bfe1a4624551907df396ed36ea8bf4ca
bpo-37531: regrtest ignores output on timeout (GH-16659)

bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call
`popen.communicate() again: it can hang until all child processes
using stdout and stderr pipes completes. Kill the worker process and
ignores its output.

Reenable test_regrtest.test_multiprocessing_timeout().

bpo-37531: Change also the faulthandler timeout of the main process
from 1 minute to 5 minutes, for Python slowest buildbots.
(cherry picked from commit 0ec618af98ac250a91ee9c91f8569e6df6772758)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/libregrtest/runtest_mp.py
Misc/NEWS.d/next/Tests/2019-10-08-16-42-05.bpo-37531.7v-_Ca.rst [new file with mode: 0644]