[Zope-Coders] checkTransactionalUndoAfterPack?

Jeremy Hylton jeremy@zope.com
Mon, 29 Apr 2002 12:21:12 -0400


>>>>> "CW" == Chris Withers <chrisw@nipltd.com> writes:

  >> ======================================================================
  >> FAIL: checkTransactionalUndoAfterPack
  >> (testFileStorage.FileStorageTests)
  >> ----------------------------------------------------------------------
  >> Traceback (most recent call last):
  >> File "E:\ZopeTests\sandbox\Zope\lib\python\ZODB\tests\TransactionalUndoStorage.py", line 448, in checkTransactionalUndoAfterPack
  >> eq(len(info2), 2)
  >> File "c:\python21\lib\unittest.py", line 273, in failUnlessEqual
  >> raise self.failureException, (msg or '%s != %s' % (first, second))
  >> AssertionError: 3 != 2

  CW> This test seems to be failing a lot (btu not consistently :-S)
  CW> on both Linux and Windows, can whoever knows what it means
  CW> please comment on its severity and what can be done to remedy
  CW> its failing?

"whoever" again?  This getting dull.  (Perhaps you should use cvs log
and spend a little extra effort on a generic name when it's me.)

I haven't been able to cause this test to fail on my Linux box.  I've
been busy with a couple of customer projects, so I haven't had time to
track down this particular bug.  I assume it's in the test rather than
the code, but I'm not certain.

There are also a couple of tests (like checkBogusObject) for the new
cache implementation that have the same pattern:  Never fail for me,
fail sporadically on the overnight test runs.

Since you have a setup that provokes the failure, perhaps you can
provide more clues.  For example: What is actually in info2?

Jeremy