]> granicus.if.org Git - python/commitdiff
Issue #11727: set regrtest default timeout to 30 minutes
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 1 Apr 2011 16:16:36 +0000 (18:16 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 1 Apr 2011 16:16:36 +0000 (18:16 +0200)
Lib/test/regrtest.py
Misc/NEWS

index 59f57d5d4100edec5098c81862309945913cdbc4..704ad77dfd832c9fa283cb06d398616b075b41f6 100755 (executable)
@@ -22,7 +22,7 @@ Options:
 -h/--help       -- print this text and exit
 --timeout TIMEOUT
                 -- dump the traceback and exit if a test takes more
-                   than TIMEOUT seconds (default: 15 minutes); disable
+                   than TIMEOUT seconds (default: 30 minutes); disable
                    the timeout if TIMEOUT is zero
 
 Verbosity
@@ -240,7 +240,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
          findleaks=False, use_resources=None, trace=False, coverdir='coverage',
          runleaks=False, huntrleaks=False, verbose2=False, print_slow=False,
          random_seed=None, use_mp=None, verbose3=False, forever=False,
-         header=False, timeout=15*60):
+         header=False, timeout=30*60):
     """Execute a test suite.
 
     This also parses command-line options and modifies its behavior
index 5a0e8a3a32784c6e5afaca942a4d511e650e918c..31d896af7ff435934f735e6323a4e6b2587d817d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -361,7 +361,7 @@ Extensions
 Tests
 -----
 
-- Issue #11727: If a test takes more than 15 minutes, regrtest dumps the
+- Issue #11727: If a test takes more than 30 minutes, regrtest dumps the
   traceback of all threads and exits. Use --timeout option to change the
   default timeout or to disable it.