[ZODB-Dev] [ zodb-Bugs-536403 ] Still have BTrees conflict error?

noreply@sourceforge.net noreply@sourceforge.net
Thu, 28 Mar 2002 12:17:16 -0800


Bugs item #536403, was opened at 2002-03-28 18:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=115628&aid=536403&group_id=15628

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
Assigned to: Jeremy Hylton (jhylton)
Summary: Still have BTrees conflict error?

Initial Comment:
Error in test testMergeInsertsFromEmpty
(BTrees.tests.testConflict.TestOOSets)
Traceback (most recent call last):
  File
"lib.linux-i686-2.1/BTrees/tests/testConflict.py", line
278, in testMergeInsertsFromEmpty
    test_merge(base, b1, b2, bm, 'merge insert from empty')
  File
"lib.linux-i686-2.1/BTrees/tests/testConflict.py", line
323, in test_merge
    merged=o1._p_resolveConflict(s1, s2, s3)
BTreesConflictError: BTrees conflict error

The previous batch of conflict error bugs were fixed by
fixing the test suite.  Perhaps this was only done on
the Zope-3x-branch.


----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2002-03-28 20:17

Message:
Logged In: YES 
user_id=31392

Fixed in rev 1.12:

date: 2002/03/28 19:28:31;  author: jeremy;  state: Exp; 
lines: +23 -40
Backport Jim's conflict error fix from the Zope-3x-branch.

The problem was that the randomly generated test data was
occasionally
invalid.  Fix is to hardcode a specific set of test data
instead of
using random.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=115628&aid=536403&group_id=15628