diff options
author | Sam Gross <colesbury@gmail.com> | 2024-02-11 03:14:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 03:14:25 (GMT) |
commit | 1a6e2138773b94fdae449b658a9983cd1fc0f08a (patch) | |
tree | 1a4f7d07d356da07be2c976853d55e258d8256af | |
parent | 4821f08674e290a396d27aa8256fd5b8a121f3d6 (diff) | |
download | cpython-1a6e2138773b94fdae449b658a9983cd1fc0f08a.zip cpython-1a6e2138773b94fdae449b658a9983cd1fc0f08a.tar.gz cpython-1a6e2138773b94fdae449b658a9983cd1fc0f08a.tar.bz2 |
gh-115258: Temporarily disable test on Windows (#115269)
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows CI.
This skips the test on Windows until we figure out the root cause.
-rw-r--r-- | Lib/test/test_queue.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_queue.py b/Lib/test/test_queue.py index e3d4d56..d308a21 100644 --- a/Lib/test/test_queue.py +++ b/Lib/test/test_queue.py @@ -2,6 +2,7 @@ # to ensure the Queue locks remain stable. import itertools import random +import sys import threading import time import unittest @@ -402,9 +403,11 @@ class BaseQueueTestMixin(BlockingTestMixin): for thread in ps[1:]: thread.join() + @unittest.skipIf(sys.platform == "win32", "test times out (gh-115258)") def test_shutdown_all_methods_in_many_threads(self): return self._shutdown_all_methods_in_many_threads(False) + @unittest.skipIf(sys.platform == "win32", "test times out (gh-115258)") def test_shutdown_immediate_all_methods_in_many_threads(self): return self._shutdown_all_methods_in_many_threads(True) |