Skip to content

Commit

Permalink
pythongh-115258: Temporarily disable test on free-threaded Windows build
Browse files Browse the repository at this point in the history
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows
free-threaded CI. This skips the test on that platform and configuration until
we figure out the root cause.
  • Loading branch information
colesbury committed Feb 11, 2024
1 parent 4821f08 commit 6eff26b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from test.support import gc_collect
from test.support import import_helper
from test.support import threading_helper
from test.support import Py_GIL_DISABLED

# queue module depends on threading primitives
threading_helper.requires_working_threading(module=True)
Expand Down Expand Up @@ -402,6 +403,8 @@ def _shutdown_all_methods_in_many_threads(self, immediate):
for thread in ps[1:]:
thread.join()

@unittest.skipIf(sys.platform == 'win32' and Py_GIL_DISABLED,
"test times out (gh-115258)")
def test_shutdown_all_methods_in_many_threads(self):
return self._shutdown_all_methods_in_many_threads(False)

Expand Down

0 comments on commit 6eff26b

Please sign in to comment.