[Zope-Checkins] CVS: ZODB3/ZEO/tests - InvalidationTests.py:1.1.4.2
Jeremy Hylton
jeremy@zope.com
Thu, 12 Jun 2003 16:31:51 -0400
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25917/ZEO/tests
Modified Files:
Tag: ZODB3-3_1-branch
InvalidationTests.py
Log Message:
Partial replacement fix: Use a lock to serialize load() and tpc_finish().
=== ZODB3/ZEO/tests/InvalidationTests.py 1.1.4.1 => 1.1.4.2 ===
--- ZODB3/ZEO/tests/InvalidationTests.py:1.1.4.1 Wed Jun 11 19:11:32 2003
+++ ZODB3/ZEO/tests/InvalidationTests.py Thu Jun 12 16:31:20 2003
@@ -50,6 +50,7 @@
while not self.stop.isSet():
try:
tree[key] = self.threadnum
+ get_transaction().note("add key %s" % key)
get_transaction().commit()
if self.sleep:
time.sleep(self.sleep)