Unverified Kaydet (Commit) 49257271 authored tarafından Victor Stinner's avatar Victor Stinner Kaydeden (comit) GitHub

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

Increase timeouts from 10 seconds to 1 minute.
üst 64737e9a
...@@ -1482,9 +1482,9 @@ class _TestCondition(BaseTestCase): ...@@ -1482,9 +1482,9 @@ class _TestCondition(BaseTestCase):
p = self.Process(target=self._test_wait_result, args=(c, pid)) p = self.Process(target=self._test_wait_result, args=(c, pid))
p.start() p.start()
self.assertTrue(c.wait(10)) self.assertTrue(c.wait(60))
if pid is not None: if pid is not None:
self.assertRaises(KeyboardInterrupt, c.wait, 10) self.assertRaises(KeyboardInterrupt, c.wait, 60)
p.join() p.join()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment