Message103575
test_itimer_virtual assumes that a process must get 0.3s of virtual
time within 5s of real time. This is not true:
I can easily make the test fail even on a fast machine by doing
as root (do it n times for n cores):
nice -n -19 sh -c 'echo "1234^123456789" | bc'
======================================================================
FAIL: test_itimer_prof (__main__.ItimerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_signal.py", line 401, in test_itimer_prof
self.fail('timeout waiting for sig_prof signal')
AssertionError: timeout waiting for sig_prof signal
======================================================================
FAIL: test_itimer_virtual (__main__.ItimerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "Lib/test/test_signal.py", line 379, in test_itimer_virtual
(signal.getitimer(self.itimer),))
AssertionError: timeout waiting for sig_vtalrm signal; signal.getitimer(self.itimer) gives: (0.200012, 0.200012) |
|
Date |
User |
Action |
Args |
2010-04-19 10:56:03 | skrah | set | recipients:
+ skrah, aimacintyre, mark.dickinson, vstinner, eric.smith, gpolo, r.david.murray |
2010-04-19 10:56:02 | skrah | set | messageid: <1271674562.71.0.500951780983.issue8424@psf.upfronthosting.co.za> |
2010-04-19 10:56:00 | skrah | link | issue8424 messages |
2010-04-19 10:55:59 | skrah | create | |
|