[issue32458] test_asyncio: test_start_tls_server_1() fails randomly

Yury Selivanov report at bugs.python.org
Mon May 28 11:08:48 EDT 2018


Yury Selivanov <yselivanov at gmail.com> added the comment:

> It's a race condition which doesn't depend on the OS, but on the system load.

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

Thing is, these are the very first *functional* tests for asyncio. Before it was mostly tested with mocks. So we'll need some adjustment period to learn how slow/loaded the CI servers are and what kind of timeouts are safe to use.

----------

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


More information about the Python-bugs-list mailing list