Mark Dickinson <dicki...@gmail.com> added the comment:

> test_itimer_virtual assumes that a process must get 0.3s of virtual
> time within 5s of real time. This is not true [...]

I agree it's not a good test, especially when run on machines that are heavily 
loaded, or on an OS running in VM.  I can't really think of *any* way of 
reliably testing the amount of virtual time that's passed.  Anyone else?

How about removing just the timing part of the itimer_virtual tests? (Leaving 
the calls in so that the functionality does at least get exercised.)   Or we 
could leave the timing in so that the test is still useful on an otherwise 
lightly-loaded machine, but don't count it as a failure if the test times out 
without getting a signal.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8424>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to