]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 68978 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Mon, 26 Jan 2009 21:53:32 +0000 (21:53 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 26 Jan 2009 21:53:32 +0000 (21:53 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68978 | mark.dickinson | 2009-01-26 21:51:56 +0000 (Mon, 26 Jan 2009) | 3 lines

  Issue #5073: Fix occasional failure of bsddb/test/test_lock.py.  Thanks
  Hirokazu Yamamoto for the patch.
........

Lib/bsddb/test/test_lock.py

index 09b9f373a4b3a79b0a2962ce2c968c9ee6ef6aec..47da39293a9119a18b7a26d88bec5dd28c7c5dc5 100644 (file)
@@ -124,7 +124,7 @@ class LockingTestCase(unittest.TestCase):
                 self.env.lock_get,anID2, "shared lock", db.DB_LOCK_READ)
         end_time=time.time()
         deadlock_detection.end=True
-        self.assertTrue((end_time-start_time) >= 0.1)
+        self.assertTrue((end_time-start_time) >= 0.0999)
         self.env.lock_put(lock)
         t.join()