From 6723644c5eef9f704dfbc978249cb3faf0d5e262 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 26 Jan 2009 21:53:32 +0000 Subject: [PATCH] Merged revisions 68978 via svnmerge from 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 | 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()