[Python-checkins] cpython: Issue #20114: Double timeout in test_semaphore_tracker() to reduce

richard.oudkerk python-checkins at python.org
Fri Feb 21 23:31:55 CET 2014


http://hg.python.org/cpython/rev/5057eaff9d68
changeset:   89318:5057eaff9d68
user:        Richard Oudkerk <roudkerk at google.com>
date:        Fri Feb 21 22:29:58 2014 +0000
summary:
  Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.

files:
  Lib/test/_test_multiprocessing.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -3651,7 +3651,7 @@
         _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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list