mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
b903fc38d8
commit
c6e8ff86b2
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue