Skip to content

Commit 0528bed

Browse files
author
mark.dickinson
committed
Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Hirokazu Yamamoto for the patch. git-svn-id: http://svn.python.org/projects/python/trunk@68978 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4a6b885 commit 0528bed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/bsddb/test/test_lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def deadlock_detection() :
124124
self.env.lock_get,anID2, "shared lock", db.DB_LOCK_READ)
125125
end_time=time.time()
126126
deadlock_detection.end=True
127-
self.assertTrue((end_time-start_time) >= 0.1)
127+
self.assertTrue((end_time-start_time) >= 0.0999)
128128
self.env.lock_put(lock)
129129
t.join()
130130

0 commit comments

Comments
 (0)