Skip to content

Commit

Permalink
pythongh-125451: Skip concurrent.futures test_processes_terminate()
Browse files Browse the repository at this point in the history
The test hangs randomly. It tries to serialize local lock and a local
function which are not possible.
  • Loading branch information
vstinner committed Oct 15, 2024
1 parent d3c82b9 commit e4c4b8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_concurrent_futures/test_shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ def test_cancel_futures_wait_false(self):


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()
Expand Down

0 comments on commit e4c4b8e

Please sign in to comment.