[Zodb-checkins] CVS: ZODB3/ZEO/tests - testZEO.py:1.43

Guido van Rossum guido@python.org
Tue, 17 Sep 2002 13:23:00 -0400


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25296

Modified Files:
	testZEO.py 
Log Message:
The checkReconnectUpgrade test works; the hang was due to the
unlocking bug in new_oid().


=== ZODB3/ZEO/tests/testZEO.py 1.42 => 1.43 ===
--- ZODB3/ZEO/tests/testZEO.py:1.42	Tue Sep 17 12:49:55 2002
+++ ZODB3/ZEO/tests/testZEO.py	Tue Sep 17 13:23:00 2002
@@ -473,18 +473,14 @@
         # Poll until the client disconnects
         self.pollDown()
         # Stores should fail now
-        self.assert_(not self._storage.is_connected())
-
-        # XXX From here on the test doesn't work yet
-        zLOG.LOG("testZEO", zLOG.INFO, "WHY DOES THIS HANG???")
         self.assertRaises(Disconnected, self._dostore)
 
-##        # Restart the server, this time read-write
-##        self._startServer(create=0)
-##        # Poll until the client sconnects
-##        self.pollUp()
-##        # Stores should now succeed
-##        self._dostore()
+        # Restart the server, this time read-write
+        self._startServer(create=0)
+        # Poll until the client sconnects
+        self.pollUp()
+        # Stores should now succeed
+        self._dostore()
 
     def NOcheckReadOnlyFallbackMultiple(self):
         # XXX This test doesn't work yet