[ZODB-Dev] [Test failures] ZODB 3.2 beta

Dieter Maurer dieter at handshake.de
Mon Dec 29 07:45:03 EST 2003


The ZODB 3.2 version in the Zope 2.7 CVS branch (as of 2003-12-20)
causes the following test failures:

 *  all "testFileStorageUndoPack" tests fail
   
    reason: the "undo" directly operates on the storage (and not on the
    connection). The check checks the connection root.
    As the connection is not reopened (or otherwise synchronized)
    between the undo and the check, accessing the root causes
    a "ReadConflictError".

 *  the "testCache.LRUCacheTests.checkSize" test fails in
    "self.assertEquals(d['size'], CACHE_SIZE)": "AssertionError: 11 != 10"

    reason: the root became deactivated (but was still referenced).
    This resulted in 10 non-ghost objects but 11 objects (as the root
    is a ghost).
    This indicates a bug in the LRU implementation. Apparently,
    writing an object does not update the LRU information.

-- 
Dieter



More information about the ZODB-Dev mailing list