Commit 9d418f12 authored by Julien Muchembled's avatar Julien Muchembled

checkTransactionalUndoIterator: do not expect iterator to return sorted oids

parent 37e445a5
......@@ -698,9 +698,9 @@ class TransactionalUndoStorage:
tid = p64(i + 1)
eq(txn.tid, tid)
L1 = [(rec.oid, rec.tid, rec.data_txn) for rec in txn]
L2 = [(oid, revid, None) for _tid, oid, revid in orig
if _tid == tid]
L1 = {(rec.oid, rec.tid, rec.data_txn) for rec in txn}
L2 = {(oid, revid, None) for _tid, oid, revid in orig
if _tid == tid}
eq(L1, L2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment