You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_asyncio: test__run_once timings should be relaxed #63778
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-12-13.00:35:00.155>created_at=<Date2013-11-14.01:00:00.908>labels= ['tests']
title='test_asyncio: test__run_once timings should be relaxed'updated_at=<Date2013-12-13.00:35:00.147>user='https://github.com/vstinner'
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_asyncio\test_base_events.py", line 184, in test__run_onceself.assertTrue(9.99< t <10.1, t)
AssertionError: False is not true : 9.989999999990687
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_asyncio\test_base_events.py", line 184, in test__run_onceself.assertTrue(9.9< t <10.1, t)
AssertionError: False is not true : 9.71900000050664
Activity
vstinner commentedon Nov 14, 2013
On Windows, the monotonic timer has a resolution of 15 ms in the worst case. The timing should accept a greater error.
http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/9547/steps/test/logs/stdio
======================================================================
FAIL: test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests)
----------------------------------------------------------------------
python-dev commentedon Nov 14, 2013
New changeset f91550e7e2b7 by Guido van Rossum in branch 'default':
asyncio: Relax timing requirement. Fixes bpo-19579.
http://hg.python.org/cpython/rev/f91550e7e2b7
vstinner commentedon Nov 23, 2013
Oh, the problem is now in the opposite direction... Windows clocks don't look to be reliable or the buildbot is very busy :-/
http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7586/steps/test/logs/stdio
======================================================================
FAIL: test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests)
----------------------------------------------------------------------
python-dev commentedon Nov 23, 2013
New changeset 085091cb6e4c by Guido van Rossum in branch 'default':
Relax timing even more, hopefully again fixes bpo-19579.
http://hg.python.org/cpython/rev/085091cb6e4c
vstinner commentedon Dec 13, 2013
I didn't see the failure recently, thanks.