summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-05-28 14:28:17 (GMT)
committerGitHub <noreply@github.com>2020-05-28 14:28:17 (GMT)
commit1d82f003678816ff8dd822452ec91669844d2d09 (patch)
treef8b9d52e28bf1df2d78d7421c9c409a1ca845d44 /Lib
parent8183e11d87388e4e44e3242c42085b87a878f781 (diff)
downloadcpython-1d82f003678816ff8dd822452ec91669844d2d09.zip
cpython-1d82f003678816ff8dd822452ec91669844d2d09.tar.gz
cpython-1d82f003678816ff8dd822452ec91669844d2d09.tar.bz2
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 84ee7e1573d166fe7a9be676813e12523b62ab24) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_sock_lowlevel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sock_lowlevel.py b/Lib/test/test_asyncio/test_sock_lowlevel.py
index 5e6a90a..e0583c0 100644
--- a/Lib/test/test_asyncio/test_sock_lowlevel.py
+++ b/Lib/test/test_asyncio/test_sock_lowlevel.py
@@ -2,6 +2,8 @@ import socket
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
@@ -232,6 +234,8 @@ class BaseSockTestsMixin:
# 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()