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

Skip to content

Commit e4c4b8e

Browse files
committed
pythongh-125451: Skip concurrent.futures test_processes_terminate()
The test hangs randomly. It tries to serialize local lock and a local function which are not possible.
1 parent d3c82b9 commit e4c4b8e

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(ExecutorShutdownTest):
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