Commit 8b2ca74a authored by Yandong Mao's avatar Yandong Mao
Browse files


parent 674de09e
......@@ -180,7 +180,7 @@ func TestDone(t *testing.T) {
allowed := m0.Alloc + uint64(nservers * items * sz * 2)
if m1.Alloc > allowed {
fmt.Printf(" You would fail this test if it were enabled (%v vs %v).\n", m1.Alloc, allowed)
t.Fatalf("Memory use did not shrink enough (Used: %v, allowed: %v).\n", m1.Alloc, allowed)
fmt.Printf(" ... Passed\n")
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