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):
# 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
......
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