[Zodb-checkins] CVS: Zope/lib/python/ZODB - FileStorage.py:1.98.2.5

Tres Seaver tseaver@zope.com
20 Dec 2002 21:47:21 -0500


On Thu, 2002-12-19 at 14:01, Guido van Rossum wrote:
> > I'm running tests in a Zope 2.6 sandbox with ZEO2/ZEO linked into
> > lib/python.  The tests which choke are ZEO tests.
> 
> Which CVS branch of ZEO2?  The head?

On the ZEO-1_0-release branch, which until Wednesday was the version of
ZEO we were using for Boston.com (purely due to inertia):

$ cvs status lib/python/ZEO/__init__.py
===================================================================
File: __init__.py      	Status: Up-to-date

   Working revision:	1.7.2.1
   Repository revision:	1.7.2.1	/cvs-repository/ZEO/ZEO/__init__.py,v
   Sticky Tag:		ZEO-1_0-release (revision: 1.7.2.1)
   Sticky Date:		(none)
   Sticky Options:	(none)

$ python2.1.3 utilities/testrunner -qa
<snip>
======================================================================
ERROR: checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot
(testZEO.ZEOFileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/opt/home/tseaver/projects/Boston.com/opt/Zope-2.6-head/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 518, in checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot
    log = self._storage.undoLog()
TypeError: undoLog() takes at least 3 arguments (1 given)
======================================================================
ERROR: checkUndoInVersion (testZEO.ZEOFileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/opt/home/tseaver/projects/Boston.com/opt/Zope-2.6-head/lib/python/ZODB/tests/TransactionalUndoVersionStorage.py", line 58, in checkUndoInVersion
    self._undo(info[0]['id'], oid)
  File
"/opt/home/tseaver/projects/Boston.com/opt/Zope-2.6-head/lib/python/ZODB/tests/StorageTestBase.py", line 199, in _undo
    return self._storage.lastTransaction()
  File "testZEO.py", line 54, in __getattr__
AttributeError: lastTransaction


When I update to use the ZODB-3_1-branch (as Jeremy indicated I should
for best compatibility with ZRS),  I get 50 more tests, all passing.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com