]> granicus.if.org Git - python/commit
bpo-37531: regrtest ignores output on timeout (GH-16659)
authorVictor Stinner <vstinner@python.org>
Tue, 8 Oct 2019 16:45:43 +0000 (18:45 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 16:45:43 +0000 (18:45 +0200)
commit0ec618af98ac250a91ee9c91f8569e6df6772758
tree91c21524bbedfeb7ad0f0ae9e3b50465a290751c
parente53c5800df3d4a07c9596ed933d431f7f77a2980
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.
Lib/test/libregrtest/runtest_mp.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2019-10-08-16-42-05.bpo-37531.7v-_Ca.rst [new file with mode: 0644]