Skip to content

Commit

Permalink
gh-125451: Skip concurrent.futures test_processes_terminate() (#125533)
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 authored Oct 15, 2024
1 parent b903fc3 commit c6e8ff8
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 c6e8ff8

Please sign in to comment.