[issue38697] test.support.find_unused_port() race condition: test_socket fails with OSError: [Errno 98] Address already in use

STINNER Victor report at bugs.python.org
Fri Dec 6 18:10:15 EST 2019


STINNER Victor <vstinner at python.org> added the comment:

support.find_unused_port() has a race condition by design, but tests are re-run sequentially by buildbots and so the rare race condition is worked around in practice.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list