]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-109702: Increase concurrent_futures deadlock timeout (GH-109703) (#109708)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Sep 2023 02:02:57 +0000 (19:02 -0700)
committerGitHub <noreply@github.com>
Fri, 22 Sep 2023 02:02:57 +0000 (02:02 +0000)
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 6b78b360d156275316bc5e76b1cb13369b503a85..d128cf2374fc2122e41f9086837bed6fed3feae5 100644 (file)
@@ -88,7 +88,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