STINNER Victor added the comment:

The epoll test failed on a buildbot. The test uses a short delay (10 
milliseconds) and compare two different clocks: time.perf_counter() and 
select.epoll.poll(). I didn't expect a failure very the greatest delay, the 
test uses even shorter delay (the shortest is 0.1 ms).

The best would be to trace syscalls to check if epoll_wait() is called with a 
non-zero timeout, but tracing syscalls is overkill and too low level for such 
test.

It's maybe better to drop this unstable test? Unstable on our slow buildbots.

http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.3/builds/1392/steps/test/logs/stdio

======================================================================
FAIL: test_timeout_rounding (test.test_epoll.TestEPoll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/buildslave/3.3.murray-gentoo-wide/build/Lib/test/test_epoll.py", line 
58, in test_timeout_rounding
    self.assertGreaterEqual(dt, timeout)
AssertionError: 0.008995789801701903 not greater than or equal to 0.01

----------

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

Reply via email to