Commit b3a7ce65 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5506fc47
......@@ -527,8 +527,6 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) {
for root := range inroot {
rt := δFtail.byRoot[root] // must be there
// fmt.Printf("ztrackInRoots: %v\n", δFtail.ztrackInRoots)
// fmt.Printf("rt: %v\n", rt)
inblk, ok := rt.Zinblk[oid]
if !ok || len(inblk) == 0 {
continue
......
......@@ -467,7 +467,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
Zinroot[zblk] = inroot
}
if !reflect.DeepEqual(trackZinroot, Zinroot) {
t.Errorf("Zinroot:\n~have: %v\n want: %v", trackZinroot, Zinroot)
t.Errorf("Zinroot:\nhave: %v\n want: %v", trackZinroot, Zinroot)
}
filesOK := setOid{}
......@@ -479,7 +479,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
RfilesOK[t.Root()] = filesOK
}
if !reflect.DeepEqual(trackRfiles, RfilesOK) {
t.Errorf("Rfiles:\n~have: %v\n want: %v", trackRfiles, RfilesOK)
t.Errorf("Rfiles:\nhave: %v\n want: %v", trackRfiles, RfilesOK)
}
// verify Zinblk
......@@ -503,7 +503,7 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
t.Errorf("len(.byRoot) != (0,1) ; byRoot: %v", δFtail.byRoot)
}
if !reflect.DeepEqual(trackZinblk, Zinblk) {
t.Errorf("Zinblk:\n~have: %v\n want: %v", trackZinblk, Zinblk)
t.Errorf("Zinblk:\nhave: %v\n want: %v", trackZinblk, Zinblk)
}
// ForgetPast configured threshold
......
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