[issue11800] regrtest --timeout: apply the timeout on a function, not on the whole file
STINNER Victor
report at bugs.python.org
Fri Apr 8 00:49:55 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
I would like a timeout per function call because some files contain many slow tests: the duration of a file depends on the number of tests. Imagine that all functions takes 1 second: a file with 200 functions takes 200 seconds, whereas a file with 1 test takes just 1 second.
The problem is some files having a lot of slow tests like test_io, test_largefile or test_subprocess (especially test_io).
Buildbots use currently a global timeout of 1 hour. I tried timeouts of 5, 15 and 30 minutes for a file, and I always got false positive. Using a timeout of 15 minutes per function, I don't expect any false positive anymore.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11800>
_______________________________________
More information about the Python-bugs-list
mailing list