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

STINNER Victor report at bugs.python.org
Fri Feb 21 18:50:26 CET 2014


STINNER Victor added the comment:

> After all the test does use run_briefly(), which might as well be renamed run_with_race_condition().

Oh, it means that the "Future/Task exception was never retrieved" is a just a consequence of the failed assertion.

IMO the run_briefly() should be avoided, whereas it is used in many places. For example, the protocol used in test_create_server() should provide a future to wait until the protocol is connected.

----------

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


More information about the Python-bugs-list mailing list