mirror of https://github.com/python/cpython
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
This commit is contained in:
parent
0f55d9a80e
commit
42a526c60f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue