From c028abf3cd59086eb2665446a58aa462af8c2abd Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 26 Jan 2009 21:51:56 +0000 Subject: [PATCH] Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks Hirokazu Yamamoto for the patch. --- Lib/bsddb/test/test_lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/bsddb/test/test_lock.py b/Lib/bsddb/test/test_lock.py index 09b9f373a4b..47da39293a9 100644 --- a/Lib/bsddb/test/test_lock.py +++ b/Lib/bsddb/test/test_lock.py @@ -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()