8000 bpo-30064: Fix unstable asyncio "racing" socket tests (GH-20485) · python/cpython@1d82f00 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d82f00

Browse files
bpo-30064: Fix unstable asyncio "racing" socket tests (GH-20485)
Skip new "racing" socket tests which fail randomly until someone fix them, to ease analysis of buildbot failures (skip tests which are known to be broken/unstable). (cherry picked from commit 84ee7e1) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 8183e11 commit 1d82f00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_asyncio/test_sock_lowlevel.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import time
33
import asyncio
44
import sys
5+
import unittest
6+
57
from asyncio import proactor_events
68
from itertools import cycle, islice
79
from test.test_asyncio import utils as test_utils
@@ -232,6 +234,8 @@ async def _basetest_sock_connect_racing(self, listener, sock):
232234
# avoid touching event loop to maintain race condition
233235
time.sleep(0.01)
234236

237+
# FIXME: https://bugs.python.org/issue30064#msg370143
238+
@unittest.skipIf(True, "unstable test")
235239
def test_sock_client_racing(self):
236240
with test_utils.run_test_server() as httpd:
237241
sock = socket.socket()

0 commit comments

Comments
 (0)
0