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