Commit 65894b80 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 879e8c54
...@@ -1009,12 +1009,12 @@ func xverifyΔBTail_rebuild_TR(t *testing.T, db *zodb.DB, δbtail *ΔBtail, tj * ...@@ -1009,12 +1009,12 @@ func xverifyΔBTail_rebuild_TR(t *testing.T, db *zodb.DB, δbtail *ΔBtail, tj *
err = δbtail.Track(k, ok, path); X(err) err = δbtail.Track(k, ok, path); X(err)
} }
δbtail.assertTrack(t, fmt.Sprintf("@%s: after Track(%v)", xat[tj.at], keys), trackIdx, trackNew) δbtail.assertTrack(t, fmt.Sprintf("@%s: after Track%v", xat[tj.at], keys), trackIdx, trackNew)
// XXX vδB=[ø] // XXX vδB=[ø]
δbtail.rebuild() δbtail.rebuild()
δbtail.assertTrack(t, fmt.Sprintf("@%s: after Track(%v) + rebuild", xat[tj.at], keys), trackIdxAfterRebuild, ø) δbtail.assertTrack(t, fmt.Sprintf("@%s: after Track%v + rebuild", xat[tj.at], keys), trackIdxAfterRebuild, ø)
// XXX assert vδB=[δ1/T(keys)] // XXX assert vδB=[δ1/T(keys)]
// XXX verify Get // XXX verify Get
...@@ -1052,7 +1052,7 @@ func xverifyΔBTail_rebuild_TR(t *testing.T, db *zodb.DB, δbtail *ΔBtail, tj * ...@@ -1052,7 +1052,7 @@ func xverifyΔBTail_rebuild_TR(t *testing.T, db *zodb.DB, δbtail *ΔBtail, tj *
for i := 0; i<len(vδTok); i++ { for i := 0; i<len(vδTok); i++ {
want += fmt.Sprintf("\n\t@%s: %v", xat[vatOK[i]], vδTok[i]) want += fmt.Sprintf("\n\t@%s: %v", xat[vatOK[i]], vδTok[i])
} }
t.Errorf("@%s: after Track(%v) + rebuild: SliceByRootRev:\nhave: %v\nwant: %v", xat[tj.at], keys, have, want) t.Errorf("@%s: after Track%v + rebuild: SliceByRootRev:\nhave: %v\nwant: %v", xat[tj.at], keys, have, want)
} }
} }
......
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