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 rpointel
Recipients rpointel
Date 2014-02-08.18:19:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391883584.64.0.946216274397.issue20564@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I have 2 tests which "failed" on OpenBSD (tested on i386, amd64 and sparc64) in:

- test_threadsignals.py/test_lock_acquire_interruption
- test_threadsignals.py/test_rlock_acquire_interruption


======================================================================
FAIL: test_lock_acquire_interruption (__main__.ThreadSignals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_threadsignals.py", line 94, in test_lock_acquire_interruption
    self.assertLess(dt, 3.0)
AssertionError: 5.020112991333008 not less than 3.0

======================================================================
FAIL: test_rlock_acquire_interruption (__main__.ThreadSignals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_threadsignals.py", line 122, in test_rlock_acquire_interruption
    self.assertLess(dt, 3.0)
AssertionError: 5.0101478099823 not less than 3.0

On the 3 machines it took ~ 5sec.
I'm asking why it's 3 seconds by default in the tests? Could we modify the value to 6 instead of 3, is it acceptable?

Thanks for your response,

Remi.
History
Date User Action Args
2014-02-08 18:19:44rpointelsetrecipients: + rpointel
2014-02-08 18:19:44rpointelsetmessageid: <1391883584.64.0.946216274397.issue20564@psf.upfronthosting.co.za>
2014-02-08 18:19:44rpointellinkissue20564 messages
2014-02-08 18:19:43rpointelcreate