Skip to content

Commit

Permalink
gh-115258: Temporarily disable test on Windows (#115269)
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 CI.
This skips the test on Windows until we figure out the root cause.
  • Loading branch information
colesbury authored Feb 11, 2024
1 parent 4821f08 commit 1a6e213
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 @@ -2,6 +2,7 @@
# to ensure the Queue locks remain stable.
import itertools
import random
import sys
import threading
import time
import unittest
Expand Down Expand Up @@ -402,9 +403,11 @@ def _shutdown_all_methods_in_many_threads(self, immediate):
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)

Expand Down

0 comments on commit 1a6e213

Please sign in to comment.