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

Victor Stinner webhook-mailer at python.org
Wed Jun 27 16:24:05 EDT 2018


https://github.com/python/cpython/commit/492572715aa0f4ddab51f979f7f56465c762227c
commit: 492572715aa0f4ddab51f979f7f56465c762227c
branch: master
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2018-06-27T22:24:02+02:00
summary:

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

Increase timeouts from 10 seconds to 1 minute.

files:
M Lib/test/_test_multiprocessing.py

diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 5d094f9ca4a1..2be40c1fbeab 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1482,9 +1482,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