◐ Shell
clean mode source ↗

[3.9] bpo-30064: Fix unstable asyncio "racing" socket tests (GH-20485) by miss-islington · Pull Request #20487 · python/cpython

Expand Up @@ -2,6 +2,8 @@ import time import asyncio import sys import unittest
from asyncio import proactor_events from itertools import cycle, islice from test.test_asyncio import utils as test_utils Expand Down Expand Up @@ -232,6 +234,8 @@ async def _basetest_sock_connect_racing(self, listener, sock): # avoid touching event loop to maintain race condition time.sleep(0.01)
# FIXME: https://bugs.python.org/issue30064#msg370143 @unittest.skipIf(True, "unstable test") def test_sock_client_racing(self): with test_utils.run_test_server() as httpd: sock = socket.socket() Expand Down