[Zodb-checkins] CVS: ZODB3/ZEO/tests - ConnectionTests.py:1.3

Jeremy Hylton jeremy@zope.com
Tue, 1 Oct 2002 13:10:32 -0400


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

Modified Files:
	ConnectionTests.py 
Log Message:
Make sure the failed storage gets closed.


=== ZODB3/ZEO/tests/ConnectionTests.py 1.2 => 1.3 ===
--- ZODB3/ZEO/tests/ConnectionTests.py:1.2	Tue Oct  1 12:44:37 2002
+++ ZODB3/ZEO/tests/ConnectionTests.py	Tue Oct  1 13:10:32 2002
@@ -484,7 +484,9 @@
         except Disconnected:
             pass
         else:
+            self._storage.close()
             self.fail("Server did not disconnect after bogus message")
+        self._storage.close()
 
         self._storage = self.openClientStorage()
         self._dostore()