[issue8424] Test assumptions for test_itimer_virtual and test_itimer_prof

Mark Dickinson report at bugs.python.org
Mon Apr 19 14:55:47 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Can't we try to increase the timeout step by step? Eg. 5 sec => 10 sec, > then 15 sec, etc. until the buildbots turn green?

I think you'd need an increase of an order of magnitude or two (possibly more) in some cases to make this work:  notice that the failure message from the itimer_virtual test gives an indication of how much virtual time *has* actually passed, and in some cases it's none at all (to within the timer resolution).

Also, this doesn't seem like a very future-proof solution.

Reducing the time intervals (0.2, 0.3, ...) probably isn't much of an option either:  I'd expect difficulties with timer resolution.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8424>
_______________________________________


More information about the Python-bugs-list mailing list