gh-125451: Skip concurrent.futures test_processes_terminate() (#125533)

The test hangs randomly. It tries to serialize local lock and a local
function which are not possible.
This commit is contained in:
Victor Stinner 2024-10-15 17:42:55 +02:00 committed by GitHub
parent b903fc38d8
commit c6e8ff86b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,6 +253,9 @@ class ThreadPoolShutdownTest(ThreadPoolMixin, ExecutorShutdownTest, BaseTestCase
class ProcessPoolShutdownTest(ExecutorShutdownTest):
# gh-125451: 'lock' cannot be serialized, the test is broken
# and hangs randomly
@unittest.skipIf(True, "broken test")
def test_processes_terminate(self):
def acquire_lock(lock):
lock.acquire()