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

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

Co-authored-by: Victor Stinner <vstinner@redhat.com>
This commit is contained in:
Miss Islington (bot) 2018-06-27 13:47:44 -07:00 committed by GitHub
parent 4b1d286ac0
commit ecb1525e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1482,9 +1482,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()