Commit d52b0519 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 892232da
......@@ -883,6 +883,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
t.Run(fmt.Sprintf(" T%s;R", keys1), func(t *testing.T) {
δbtail := NewΔBtail(t0.at, db)
// FIXME do Update(t0->t1) only once + clone after it
// assert trackIdx=ø, trackNew=ø, vδB=[]
δbtail.assertTrack(t, "@at0", ø, ø) // XXX + vδB
step1 := func() { // XXX will be not needed with clone
......@@ -890,7 +892,7 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
// after Update(t0->t1):
/*trackIdx=*/ ø,
// after Track(keys)
// after Track(keys1)
keys1,
/*trackNew=*/ t1.xkv.trackIdx(keys1),
......@@ -917,6 +919,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
//δbtail_ := δbtail
δbtail_ := δbtail.clone()
// FIXME do Update(t1->t2) only once + clone after it
// tracked keys1 becomes tracked keys1_2 after Update(t1->t2)
keys1_2 := kadj12.Map(keys1)
......
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