[Zope-dev] Fwd: Help with RelStorage ...
Shane Hathaway
shane at hathawaymix.org
Sun Dec 14 11:59:14 EST 2008
Gareth Bult wrote:
> Superb!
>
> The times were 90 secs out .. now I'm just left with this one;
>
> ======================================================================
> FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 329, in checkPackWithMultiDatabaseReferences
> assert(len(self._storage) == 1)
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 106 tests in 26.300s
>
> FAILED (failures=1)
>
> .... which I'm guessing it not a major problem ???
That test was added after ZODB 3.8.0. The rest of the tests like it
allow len(self._storage) to return 0, indicating the storage does not
need to support that operation. I have fixed the test to allow len() to
return 0 on the ZODB 3.8 branch and the trunk.
Shane
More information about the Zope-Dev
mailing list