]> granicus.if.org Git - python/commitdiff
bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 Jun 2018 21:20:09 +0000 (14:20 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 21:20:09 +0000 (14:20 -0700)
Increase timeouts from 10 seconds to 1 minute.
(cherry picked from commit 492572715aa0f4ddab51f979f7f56465c762227c)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/_test_multiprocessing.py

index e0edff419231c48475c9470e260827a34f1a00b4..dbca2d36f1918fd7e24ede0b803e973315025097 100644 (file)
@@ -1217,9 +1217,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()