]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115258: Temporarily disable test on Windows (#115269)
authorSam Gross <colesbury@gmail.com>
Sun, 11 Feb 2024 03:14:25 +0000 (22:14 -0500)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 03:14:25 +0000 (03:14 +0000)
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.

Lib/test/test_queue.py

index e3d4d566cdda48adc30c0f10cb4a6d79551429ec..d308a212999429e903aaab41d56b4e99fb92bdb6 100644 (file)
@@ -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)