[Zodb-checkins] CVS: Zope/lib/python/ZODB/tests -
MTStorage.py:1.4.6.4
Tim Peters
tim.one at comcast.net
Thu Jun 19 18:51:07 EDT 2003
Update of /cvs-repository/Zope/lib/python/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv17655/lib/python/ZODB/tests
Modified Files:
Tag: Zope-2_6-branch
MTStorage.py
Log Message:
TimeStamp_laterThan(): This leaked a Python string object whenever it
had to create a new timestamp. Fixed.
check2ZODBThreads(), check7ZODBThreads(): Close the database when
these tests end. Else they leak bigtime, obscuring searches for real
leaks.
=== Zope/lib/python/ZODB/tests/MTStorage.py 1.4.6.3 => 1.4.6.4 ===
--- Zope/lib/python/ZODB/tests/MTStorage.py:1.4.6.3 Wed Jun 18 12:32:09 2003
+++ Zope/lib/python/ZODB/tests/MTStorage.py Thu Jun 19 17:51:06 2003
@@ -211,10 +211,12 @@
def check2ZODBThreads(self):
db = ZODB.DB(self._storage)
self._checkNThreads(2, ZODBClientThread, db, self)
+ db.close()
def check7ZODBThreads(self):
db = ZODB.DB(self._storage)
self._checkNThreads(7, ZODBClientThread, db, self)
+ db.close()
def check2StorageThreads(self):
self._checkNThreads(2, StorageClientThread, self._storage, self)
More information about the Zodb-checkins
mailing list