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

Tim Peters tim.one at comcast.net
Mon Jun 16 16:00:55 EDT 2003


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

Modified Files:
	ConnectionTests.py 
Log Message:
class TimeoutTests:  close the storage when done.


=== ZODB3/ZEO/tests/ConnectionTests.py 1.34 => 1.35 ===
--- ZODB3/ZEO/tests/ConnectionTests.py:1.34	Mon Jun 16 14:47:37 2003
+++ ZODB3/ZEO/tests/ConnectionTests.py	Mon Jun 16 15:00:55 2003
@@ -793,6 +793,7 @@
         storage.tpc_vote(txn)
         time.sleep(2)
         self.assertRaises(ClientDisconnected, storage.tpc_finish, txn)
+        storage.close()
 
     def checkTimeoutOnAbort(self):
         storage = self.openClientStorage()
@@ -800,12 +801,14 @@
         storage.tpc_begin(txn)
         storage.tpc_vote(txn)
         storage.tpc_abort(txn)
+        storage.close()
 
     def checkTimeoutOnAbortNoLock(self):
         storage = self.openClientStorage()
         txn = Transaction()
         storage.tpc_begin(txn)
         storage.tpc_abort(txn)
+        storage.close()
 
 class MSTThread(threading.Thread):
 




More information about the Zodb-checkins mailing list