[Zodb-checkins] CVS: ZODB3/ZEO/tests - ConnectionTests.py:1.46.2.2
Jeremy Hylton
cvs-admin at zope.org
Tue Nov 11 16:50:51 EST 2003
Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv6122
Modified Files:
Tag: ZODB3-mvcc-2-branch
ConnectionTests.py
Log Message:
Call sync() to guarantee data gets into the cache.
=== ZODB3/ZEO/tests/ConnectionTests.py 1.46.2.1 => 1.46.2.2 ===
--- ZODB3/ZEO/tests/ConnectionTests.py:1.46.2.1 Wed Nov 5 23:34:15 2003
+++ ZODB3/ZEO/tests/ConnectionTests.py Tue Nov 11 16:50:50 2003
@@ -587,6 +587,9 @@
revid = self._dostore(oid)
revid = self._dostore(oid, revid)
+ # sync() is needed to prevent invalidation for oid from arriving
+ # in the middle of the load() call.
+ perstorage.sync()
perstorage.load(oid, '')
perstorage.close()
More information about the Zodb-checkins
mailing list