[Zodb-checkins]
SVN: ZODB/branches/jim-3.8-connection/src/ZEO/tests/invalidations_while_connecting.test
Added an assert to make sure we caught up when comparing
connections.
Jim Fulton
jim at zope.com
Fri Jul 11 17:33:48 EDT 2008
Log message for revision 88268:
Added an assert to make sure we caught up when comparing connections.
Changed:
U ZODB/branches/jim-3.8-connection/src/ZEO/tests/invalidations_while_connecting.test
-=-
Modified: ZODB/branches/jim-3.8-connection/src/ZEO/tests/invalidations_while_connecting.test
===================================================================
--- ZODB/branches/jim-3.8-connection/src/ZEO/tests/invalidations_while_connecting.test 2008-07-11 18:02:33 UTC (rev 88267)
+++ ZODB/branches/jim-3.8-connection/src/ZEO/tests/invalidations_while_connecting.test 2008-07-11 21:33:45 UTC (rev 88268)
@@ -74,6 +74,10 @@
... _ = lock.acquire()
... try:
... time.sleep(.1)
+ ... assert (db._storage.lastTransaction()
+ ... == db._storage._server.lastTransaction()), (
+ ... db._storage.lastTransaction(),
+ ... db._storage._server.lastTransactiion())
... conn = db.open()
... for i in range(1000):
... if conn.root()[i].value != conn2.root()[i].value:
More information about the Zodb-checkins
mailing list