Commit 8fc2a3ab authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e2629822
......@@ -519,6 +519,33 @@ func TestΔBTail(t *testing.T) {
"T/B2:c", // 2: b->c
"T2/B1:a-B2:c", // +1 in new bucket
// bucket split; +3 in new bucket
"T/B1:a,2:b",
"T2/B1:a-B2:b,3:c",
// bucket split; +3 in new bucket; +4 +5 in another new bucket
// which remain not tracked (TODO verify)
"T/B1:a,2:b",
"T2,4/B1:a-B2:b,3:c-B4:d,5:e",
// depth=2; bucket split; +3 in new bucket; left T remain
// _unchanged_ even though B under it is modified; right arm is
// added to tracking set because 2 migrates there.
"T/T/B1:a,2:b",
"T2/T-T/B1:a-B2:b,3:c",
// depth=2; like prev. case, but additional right arm with +4
// +5 is added which remain not tracked (TODO verify)
"T/T/B1:a,2:b",
"T2,4/T-T-T/B1:a-B2:b,3:c-B4:d,5:e",
// depth=2; bucket split; +3 in new bucket; t0 and t1 split;
// +right arm (T7/B45-B89) which remain not tracked (TODO verify)
"T/T/B1:a,2:b",
"T4/T2-T7/B1:a-B2:b,3:c-B4:d,5:e-B8:h,9:i",
// XXX more
// degenerate topology from ZODB tests
......
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