Skip to content

Commit e9e56a5

Browse files
colesburypull[bot]
authored andcommitted
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.
1 parent f547c64 commit e9e56a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_queue.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# to ensure the Queue locks remain stable.
33
import itertools
44
import random
5+
import sys
56
import threading
67
import time
78
import unittest
@@ -402,9 +403,11 @@ def _shutdown_all_methods_in_many_threads(self, immediate):
402403
for thread in ps[1:]:
403404
thread.join()
404405

406+
@unittest.skipIf(sys.platform == "win32", "test times out (gh-115258)")
405407
def test_shutdown_all_methods_in_many_threads(self):
406408
return self._shutdown_all_methods_in_many_threads(False)
407409

410+
@unittest.skipIf(sys.platform == "win32", "test times out (gh-115258)")
408411
def test_shutdown_immediate_all_methods_in_many_threads(self):
409412
return self._shutdown_all_methods_in_many_threads(True)
410413

0 commit comments

Comments
 (0)