From 03c643aa6b31fdbcfaf00d69d003f2dc446f2557 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 20 Feb 2021 21:19:21 -0800 Subject: [PATCH] fix test fileSize need to be divided by 8 --- weed/storage/needle/needle_read_write_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/needle/needle_read_write_test.go b/weed/storage/needle/needle_read_write_test.go index 47582dd26..afcea5a05 100644 --- a/weed/storage/needle/needle_read_write_test.go +++ b/weed/storage/needle/needle_read_write_test.go @@ -48,7 +48,7 @@ func TestAppend(t *testing.T) { int64 : -9223372036854775808 to 9223372036854775807 */ - fileSize := int64(4294967295) + 10000 + fileSize := int64(4294967296) + 10000 tempFile.Truncate(fileSize) defer func() { tempFile.Close()