[issue20720] test_create_server() of test_asyncio failure on "x86 Windows Server 2008 [SB] 3.x" buildbot

Guido van Rossum report at bugs.python.org
Fri Feb 21 19:07:27 CET 2014


Guido van Rossum added the comment:

Agreed. I suppose all tests currently using run_briefly() should be modified to use run_until() with a lambda and a timeout. The timeout must be (a) large enough to never fail on a buildbot, yet (b) small enough that when a test is actually failing we don't mistake it for hanging. So I really would like to see a different pattern introduced -- but I'm at a loss for how to do it elegantly. (Ditto with the terrible hack for simulated time -- see http://code.google.com/p/tulip/issues/detail?id=128.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20720>
_______________________________________


More information about the Python-bugs-list mailing list