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.
This commit is contained in:
Sam Gross 2024-02-10 22:14:25 -05:00 committed by GitHub
parent 4821f08674
commit 1a6e213877
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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 @@ 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)