[Zodb-checkins] CVS: ZODB3/ZODB/tests - testCache.py:1.13.8.1
Jeremy Hylton
jeremy at zope.com
Tue Sep 9 00:57:58 EDT 2003
Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv19944/ZODB/tests
Modified Files:
Tag: ZODB3-3_2-branch
testCache.py
Log Message:
Just removed the Connection's reference to the root, so
size should stay at CACHE_SIZE.
=== ZODB3/ZODB/tests/testCache.py 1.13 => 1.13.8.1 ===
--- ZODB3/ZODB/tests/testCache.py:1.13 Mon Apr 7 18:26:04 2003
+++ ZODB3/ZODB/tests/testCache.py Mon Sep 8 23:57:58 2003
@@ -185,9 +185,7 @@
self.assertEquals(len(details), CONNS)
for d in details:
self.assertEquals(d['ngsize'], CACHE_SIZE)
- # the root is also in the cache as ghost, because
- # the connection holds a reference to it
- self.assertEquals(d['size'], CACHE_SIZE + 1)
+ self.assertEquals(d['size'], CACHE_SIZE)
def checkDetail(self):
CACHE_SIZE = 10
More information about the Zodb-checkins
mailing list