[Zodb-checkins] CVS: Zope/lib/python/ZEO/tests -
InvalidationTests.py:1.4.4.5
Jeremy Hylton
jeremy at zope.com
Mon Mar 22 12:09:10 EST 2004
Update of /cvs-repository/Zope/lib/python/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv24503
Modified Files:
Tag: Zope-2_7-branch
InvalidationTests.py
Log Message:
Two more tests where the sync() trick from the head doesn't work.
=== Zope/lib/python/ZEO/tests/InvalidationTests.py 1.4.4.4 => 1.4.4.5 ===
--- Zope/lib/python/ZEO/tests/InvalidationTests.py:1.4.4.4 Mon Mar 22 11:57:02 2004
+++ Zope/lib/python/ZEO/tests/InvalidationTests.py Mon Mar 22 12:09:08 2004
@@ -409,9 +409,12 @@
t2 = self.StressThread(self, db2, stop, 2, cd, 2)
self.go(stop, cd, t1, t2)
- while storage1.lastTransaction() != storage2.lastTransaction():
- db1._storage.sync()
- db2._storage.sync()
+ # XXX THese two never seem to get in sync.
+## while storage1.lastTransaction() != storage2.lastTransaction():
+## db1._storage.sync()
+## db2._storage.sync()
+ db1._storage.sync()
+ db2._storage.sync()
cn = db1.open()
tree = cn.root()["tree"]
@@ -469,10 +472,12 @@
t3 = self.StressThread(self, db2, stop, 3, cd, 3, 3, 0.01)
self.go(stop, cd, t1, t2, t3)
- while storage1.lastTransaction() != storage2.lastTransaction():
- db1._storage.sync()
- db2._storage.sync()
-
+ # XXX THese two never seem to get in sync.
+## while storage1.lastTransaction() != storage2.lastTransaction():
+## db1._storage.sync()
+## db2._storage.sync()
+ db1._storage.sync()
+ db2._storage.sync()
cn = db1.open()
tree = cn.root()["tree"]
self._check_tree(cn, tree)
More information about the Zodb-checkins
mailing list