Kaydet (Commit) c028abf3 authored tarafından Mark Dickinson's avatar Mark Dickinson

Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks

Hirokazu Yamamoto for the patch.
üst a0eae039
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment