mirror of https://github.com/python/cpython
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. ........
This commit is contained in:
parent
24058549f5
commit
6723644c5e
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue