]> 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 14:02:15 +0000 (07:02 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 14:02:15 +0000 (07:02 -0700)
commit359a1975cbca488ccd5ea13bd7268d7e88664078
tree5c7e8a82307d4cdf41b0160899ec8c511f15c394
parentd004a5b082d0770682e6efbf03105a67469d4820
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]