New submission from Remi Pointel:
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.
----------
components: Tests
messages: 210672
nosy: rpointel
priority: normal
severity: normal
status: open
title: test_threadsignals.py "failed" on OpenBSD because too slow (> 3sec)
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20564>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com