STINNER Victor added the comment:

"I've sped up "wait for something to happen" tests in other contexts and
found the best solution to be a polling loop so that success is as fast as 
possible and failure may be slow."

more_reliable_tests.patch tries to fix tests to not depend on timings. But it 
is not always possible to synchronize without "arbitrary sleep". 

test_sleep.patch helps to detect such unstable test.

----------

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

Reply via email to