From 11f1e7996b36c48cd2550d486ec9a0d80683a79c Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 5 Jun 2022 18:50:41 -0700 Subject: [PATCH] fix test --- weed/storage/needle/needle_read_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/weed/storage/needle/needle_read_test.go b/weed/storage/needle/needle_read_test.go index e2e69574a..001f10771 100644 --- a/weed/storage/needle/needle_read_test.go +++ b/weed/storage/needle/needle_read_test.go @@ -71,10 +71,9 @@ func TestPageRead(t *testing.T) { fmt.Printf("LastModified %d\n", n.LastModified) fmt.Printf("AppendAtNs %d\n", n.AppendAtNs) fmt.Printf("Checksum %d\n", n.Checksum) - fmt.Printf("Checksum value %d\n", checksumValue) buf := make([]byte, 1024) - if err = n.ReadNeedleDataInto(datBackend, offset, buf, io.Discard, 0, int64(n.DataSize), checksumValue); err != nil { + if err = n.ReadNeedleDataInto(datBackend, offset, buf, io.Discard, 0, int64(n.DataSize)); err != nil { t.Fatalf("ReadNeedleDataInto: %v", err) }