From 1d87e07f7c258367e94f5812a6f03c2184e7fad6 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 4 Jun 2021 23:48:46 +0100 Subject: [PATCH 1/2] bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite --- Lib/test/test_asyncio/test_subprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 225a3babc844b8..5e0f1567fe778b 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -665,6 +665,8 @@ class SubprocessThreadedWatcherTests(SubprocessWatcherMixin, Watcher = unix_events.ThreadedChildWatcher + @unittest.skip("SubprocessMultiLoopWatcher has a race condition \ + and these tests can hang the test suite") class SubprocessMultiLoopWatcherTests(SubprocessWatcherMixin, test_utils.TestCase): From b577c0a991c1757906dbfc1869ac559085c6e5b3 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 5 Jun 2021 00:13:45 +0100 Subject: [PATCH 2/2] fixup! bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite --- Lib/test/test_asyncio/test_subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 5e0f1567fe778b..3cf88188ecf3b1 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -665,7 +665,7 @@ class SubprocessThreadedWatcherTests(SubprocessWatcherMixin, Watcher = unix_events.ThreadedChildWatcher - @unittest.skip("SubprocessMultiLoopWatcher has a race condition \ + @unittest.skip("bpo-38323: MultiLoopChildWatcher has a race condition \ and these tests can hang the test suite") class SubprocessMultiLoopWatcherTests(SubprocessWatcherMixin, test_utils.TestCase):