mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
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.
This commit is contained in:
parent
e53c5800df
commit
0ec618af98
3 changed files with 42 additions and 28 deletions
|
@ -1153,7 +1153,6 @@ class ArgsTestCase(BaseTestCase):
|
|||
env_changed=[testname],
|
||||
fail_env_changed=True)
|
||||
|
||||
@unittest.skipIf(True, 'bpo-37531, bpo-38207: test hangs randomly')
|
||||
def test_multiprocessing_timeout(self):
|
||||
code = textwrap.dedent(r"""
|
||||
import time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue