[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

STINNER Victor report at bugs.python.org
Mon May 28 11:39:57 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

> Yeah, I agree. The current timeout for the test is 5 seconds and it tries to transfer 2mb of data, which isn't that much actually.  I'll bump the timeout and reduce the amount of data transferred in https://github.com/python/cpython/pull/7130

What is the purpose of a timeout of 5 seconds? Some buildbots are really slow.

If the purpose is to detect when the test hangs: use a timeout of 5 minutes, or at least 1 minute (60 seconds).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32458>
_______________________________________


More information about the Python-bugs-list mailing list