[Python-checkins] bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
Miss Islington (bot)
webhook-mailer at python.org
Wed Jun 27 16:47:49 EDT 2018
https://github.com/python/cpython/commit/ecb1525e10bbde9a66d2d14a24ff7a7ddd9d3258
commit: ecb1525e10bbde9a66d2d14a24ff7a7ddd9d3258
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-06-27T13:47:44-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 182292fb58da..edae6bc68549 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