]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-109702: Increase concurrent_futures deadlock timeout (GH-109703) (#109705)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 15:35:36 +0000 (08:35 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:35:36 +0000 (17:35 +0200)
gh-109702: Increase concurrent_futures deadlock timeout (GH-109703)

Replace SHORT_TIMEOUT with LONG_TIMEOUT in test_deadlock of
test_concurrent_futures.
(cherry picked from commit 1eb1b45183c3b8aeefe3d5d27694155741e82bbc)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_concurrent_futures/test_deadlock.py

index 6be1677756803075b87722febbea6c898d7ae8f5..2f08bf846988856abae678b28cc137736453a21c 100644 (file)
@@ -91,7 +91,7 @@ class ErrorAtUnpickle(object):
 
 
 class ExecutorDeadlockTest:
-    TIMEOUT = support.SHORT_TIMEOUT
+    TIMEOUT = support.LONG_TIMEOUT
 
     def _fail_on_deadlock(self, executor):
         # If we did not recover before TIMEOUT seconds, consider that the