Commit f5365776 authored by Guido van Rossum's avatar Guido van Rossum

The checkReconnectUpgrade test works; the hang was due to the

unlocking bug in new_oid().
parent e665b885
...@@ -473,18 +473,14 @@ class ConnectionTests(StorageTestBase.StorageTestBase): ...@@ -473,18 +473,14 @@ class ConnectionTests(StorageTestBase.StorageTestBase):
# Poll until the client disconnects # Poll until the client disconnects
self.pollDown() self.pollDown()
# Stores should fail now # 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) self.assertRaises(Disconnected, self._dostore)
## # Restart the server, this time read-write # Restart the server, this time read-write
## self._startServer(create=0) self._startServer(create=0)
## # Poll until the client sconnects # Poll until the client sconnects
## self.pollUp() self.pollUp()
## # Stores should now succeed # Stores should now succeed
## self._dostore() self._dostore()
def NOcheckReadOnlyFallbackMultiple(self): def NOcheckReadOnlyFallbackMultiple(self):
# XXX This test doesn't work yet # XXX This test doesn't work yet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment