[Python-checkins] cpython: Buildbot: give 20 minute per test file

victor.stinner python-checkins at python.org
Mon Sep 12 07:06:46 EDT 2016


https://hg.python.org/cpython/rev/e163ba9b8d3e
changeset:   103704:e163ba9b8d3e
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Sep 12 13:04:17 2016 +0200
summary:
  Buildbot: give 20 minute per test file

It seems like at least 2 buildbots need more than 15 minutes per test file.
Example with "AMD64 Snow Leop 3.x":

    10 slowest tests:
    - test_tools: 14 min 40 sec
    - test_tokenize: 11 min 57 sec
    - test_datetime: 11 min 25 sec
    - ...

files:
  Makefile.pre.in         |  2 +-
  Tools/buildbot/test.bat |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -988,7 +988,7 @@
 TESTOPTS=	$(EXTRATESTOPTS)
 TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) $(TESTPYTHONOPTS)
 TESTRUNNER=	$(TESTPYTHON) $(srcdir)/Tools/scripts/run_tests.py
-TESTTIMEOUT=	900
+TESTTIMEOUT=	1200
 
 # Run a basic set of regression tests.
 # This excludes some tests that are particularly resource-intensive.
diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat
--- a/Tools/buildbot/test.bat
+++ b/Tools/buildbot/test.bat
@@ -16,4 +16,4 @@
 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
 
 echo on
-call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list