mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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):
|
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 test_processes_terminate(self):
|
||||||
def acquire_lock(lock):
|
def acquire_lock(lock):
|
||||||
lock.acquire()
|
lock.acquire()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue