[Zodb-checkins] CVS: Zope3/src/zodb/zeo/tests - connection.py:1.11

Barry Warsaw barry at zope.com
Thu Jul 10 14:46:13 EDT 2003


Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv28249

Modified Files:
	connection.py 
Log Message:
CommonSetupTearDown.tearDown(): Abort any in-progress transaction.


=== Zope3/src/zodb/zeo/tests/connection.py 1.10 => 1.11 ===
--- Zope3/src/zodb/zeo/tests/connection.py:1.10	Fri Jun 20 11:16:59 2003
+++ Zope3/src/zodb/zeo/tests/connection.py	Thu Jul 10 13:46:08 2003
@@ -90,6 +90,7 @@
 
     def tearDown(self):
         """Try to cause the tests to halt"""
+        get_transaction().abort()
         self.logger.warn("tearDown() %s", self.id())
         for p in self._conf_paths:
             os.remove(p)




More information about the Zodb-checkins mailing list