Issue #20114: Double timeout in test_semaphore_tracker() to reduce

chance of sporadic failures.
This commit is contained in:
Richard Oudkerk 2014-02-21 22:29:58 +00:00
parent 0f55d9a80e
commit 42a526c60f
1 changed files with 1 additions and 1 deletions

View File

@ -3651,7 +3651,7 @@ class TestSemaphoreTracker(unittest.TestCase):
_multiprocessing.sem_unlink(name1)
p.terminate()
p.wait()
time.sleep(1.0)
time.sleep(2.0)
with self.assertRaises(OSError) as ctx:
_multiprocessing.sem_unlink(name2)
# docs say it should be ENOENT, but OSX seems to give EINVAL