projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f55d9a
)
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
author
Richard Oudkerk
<roudkerk@google.com>
Fri, 21 Feb 2014 22:29:58 +0000
(22:29 +0000)
committer
Richard Oudkerk
<roudkerk@google.com>
Fri, 21 Feb 2014 22:29:58 +0000
(22:29 +0000)
chance of sporadic failures.
Lib/test/_test_multiprocessing.py
patch
|
blob
|
history
diff --git
a/Lib/test/_test_multiprocessing.py
b/Lib/test/_test_multiprocessing.py
index 06d3ca97fc34643a85bf4bafbe5411730a29e07c..8eb57fe87e7a6548117a30f21144b16452bc7470 100644
(file)
--- a/
Lib/test/_test_multiprocessing.py
+++ b/
Lib/test/_test_multiprocessing.py
@@
-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