https://github.com/python/cpython/commit/c6e8ff86b2bf8cf597622d416f8befae940366fa
commit: c6e8ff86b2bf8cf597622d416f8befae940366fa
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2024-10-15T15:42:55Z
summary:
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.
files:
M Lib/test/test_concurrent_futures/test_shutdown.py
diff --git a/Lib/test/test_concurrent_futures/test_shutdown.py
b/Lib/test/test_concurrent_futures/test_shutdown.py
index 7a4065afd46fc8..ba3618614a9bf9 100644
--- a/Lib/test/test_concurrent_futures/test_shutdown.py
+++ b/Lib/test/test_concurrent_futures/test_shutdown.py
@@ -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()
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]