Commit ce3d517f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 69be6230
...@@ -227,7 +227,15 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) { ...@@ -227,7 +227,15 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
t.Errorf(".trackSetZBlk:\n~have: %v\n want: %v", trackZinblk, Zinblk) t.Errorf(".trackSetZBlk:\n~have: %v\n want: %v", trackZinblk, Zinblk)
} }
// XXX ForgetPast configured threshold // ForgetPast configured threshold
const ncut = 4
if len(vδf) > ncut {
revcut := vδf[0].Rev
t.Logf("# forget ≤ @%s", xat[revcut])
δftail.ForgetPast(revcut)
vδf = vδf[1:]
}
// XXX verify SliceByFileRev + LastBlkRev // XXX verify SliceByFileRev + LastBlkRev
} }
} }
......
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