Commit 1441bcef authored by Jeremy Hylton's avatar Jeremy Hylton

Make sure the failed storage gets closed.

parent 8467908f
...@@ -484,7 +484,9 @@ class ConnectionTests(StorageTestBase.StorageTestBase): ...@@ -484,7 +484,9 @@ class ConnectionTests(StorageTestBase.StorageTestBase):
except Disconnected: except Disconnected:
pass pass
else: else:
self._storage.close()
self.fail("Server did not disconnect after bogus message") self.fail("Server did not disconnect after bogus message")
self._storage.close()
self._storage = self.openClientStorage() self._storage = self.openClientStorage()
self._dostore() self._dostore()
......
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