Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7edf3b

Browse files
author
Victor Stinner
committed
Issue #11727, issue #11753, issue #11755: disable regrtest timeout
Disable regrtest timeout until #11753 and #11755 are fixed
1 parent f77ccc6 commit d7edf3b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Lib/test/regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
240240
findleaks=False, use_resources=None, trace=False, coverdir='coverage',
241241
runleaks=False, huntrleaks=False, verbose2=False, print_slow=False,
242242
random_seed=None, use_mp=None, verbose3=False, forever=False,
243-
header=False, timeout=30*60):
243+
header=False, timeout=None):
244244
"""Execute a test suite.
245245
246246
This also parses command-line options and modifies its behavior

Misc/NEWS

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,8 @@ Extensions
370370
Tests
371371
-----
372372

373-
- Issue #11727: If a test takes more than 30 minutes, regrtest dumps the
374-
traceback of all threads and exits. Use --timeout option to change the
375-
default timeout or to disable it.
373+
- Issue #11727: Add a --timeout option to regrtest: if a test takes more than
374+
TIMEOUT seconds, dumps the traceback of all threads and exits.
376375

377376
- Issue #11653: fix -W with -j in regrtest.
378377

0 commit comments

Comments
 (0)