mirror of
https://github.com/python/cpython.git
synced 2025-11-07 00:51:49 +00:00
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
This commit is contained in:
parent
0f55d9a80e
commit
42a526c60f
1 changed files with 1 additions and 1 deletions
|
|
@ -3651,7 +3651,7 @@ def test_semaphore_tracker(self):
|
||||||
_multiprocessing.sem_unlink(name1)
|
_multiprocessing.sem_unlink(name1)
|
||||||
p.terminate()
|
p.terminate()
|
||||||
p.wait()
|
p.wait()
|
||||||
time.sleep(1.0)
|
time.sleep(2.0)
|
||||||
with self.assertRaises(OSError) as ctx:
|
with self.assertRaises(OSError) as ctx:
|
||||||
_multiprocessing.sem_unlink(name2)
|
_multiprocessing.sem_unlink(name2)
|
||||||
# docs say it should be ENOENT, but OSX seems to give EINVAL
|
# docs say it should be ENOENT, but OSX seems to give EINVAL
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue