Commit 0e5cfcd7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9b5339ca
......@@ -203,15 +203,14 @@ func xverifyΔBTail(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, at1, at2 zodb.
d12 := kvdiff(kv1, kv2)
fmt.Println("d12:", d12)
// verify transition at1->at2 for all initial states of tracked {keys} from kv1
keyv1 := []Key{}
// verify transition at1->at2 for all initial states of tracked {keys} from kv1 + ∞
keyv1 := []Key{10000} // inf, simulating ZBigFile.Size() query
for k1 := range kv1 {
keyv1 = append(keyv1, k1)
}
sort.Slice(keyv1, func(i, j int) bool {
return keyv1[i] < keyv1[j]
})
keyv1 = append(keyv1, 10000) // inf, simulating ZBigFile.Size() query
for kidx := range IntSets(len(keyv1)) {
keys := make([]Key, len(kidx))
for i, idx := range kidx {
......
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