]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
authorVictor Stinner <vstinner@redhat.com>
Wed, 27 Jun 2018 20:24:02 +0000 (22:24 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 20:24:02 +0000 (22:24 +0200)
Increase timeouts from 10 seconds to 1 minute.

Lib/test/_test_multiprocessing.py

index 5d094f9ca4a13bb4475ea5f1ac79f871bb962631..2be40c1fbeab5716276c45b45c0a1ced4e4dd682 100644 (file)
@@ -1482,9 +1482,9 @@ class _TestCondition(BaseTestCase):
             p = self.Process(target=self._test_wait_result, args=(c, pid))
             p.start()
 
-            self.assertTrue(c.wait(10))
+            self.assertTrue(c.wait(60))
             if pid is not None:
-                self.assertRaises(KeyboardInterrupt, c.wait, 10)
+                self.assertRaises(KeyboardInterrupt, c.wait, 60)
 
             p.join()