This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients michael.foord, pitrou, rhettinger, vstinner
Date 2011-04-07.22:49:54
SpamBayes Score 5.5104254e-12
Marked as misclassified No
Message-id <1302216595.57.0.354159763473.issue11800@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-04-07 22:49:55vstinnersetrecipients: + vstinner, rhettinger, pitrou, michael.foord
2011-04-07 22:49:55vstinnersetmessageid: <1302216595.57.0.354159763473.issue11800@psf.upfronthosting.co.za>
2011-04-07 22:49:54vstinnerlinkissue11800 messages
2011-04-07 22:49:54vstinnercreate