8000 gh-125451: Skip concurrent.futures test_processes_terminate() (#125533) · python/cpython@c6e8ff8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6e8ff8

Browse files
authored
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.
1 parent b903fc3 commit c6e8ff8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_concurrent_futures/test_shutdown.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ def test_cancel_futures_wait_false(self):
253253

254254

255255
class ProcessPoolShutdownTest(ExecutorShutdownTes 59BD t):
256+
# gh-125451: 'lock' cannot be serialized, the test is broken
257+
# and hangs randomly
258+
@unittest.skipIf(True, "broken test")
256259
def test_processes_terminate(self):
257260
def acquire_lock(lock):
258261
lock.acquire()

0 commit comments

Comments
 (0)
0