[Python-checkins] bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)

Miss Islington (bot) webhook-mailer at python.org
Wed Jun 27 17:20:13 EDT 2018


https://github.com/python/cpython/commit/404250ed65e01505c1ec7ea194804df160ce5400
commit: 404250ed65e01505c1ec7ea194804df160ce5400
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-27T14:20:09-07:00
summary:

bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)


Increase timeouts from 10 seconds to 1 minute.
(cherry picked from commit 492572715aa0f4ddab51f979f7f56465c762227c)

Co-authored-by: Victor Stinner <vstinner at redhat.com>

files:
M Lib/test/_test_multiprocessing.py

diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index e0edff419231..dbca2d36f191 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1217,9 +1217,9 @@ def test_wait_result(self):
             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()
 



More information about the Python-checkins mailing list