aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-20 21:19:21 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-20 21:19:21 -0800
commit03c643aa6b31fdbcfaf00d69d003f2dc446f2557 (patch)
tree631d8be07150c5f9dc48163fd5d246fd19cc536a
parent7635f6b9fa5c4d9def4430577247857dfd9ad2f4 (diff)
downloadseaweedfs-03c643aa6b31fdbcfaf00d69d003f2dc446f2557.tar.xz
seaweedfs-03c643aa6b31fdbcfaf00d69d003f2dc446f2557.zip
fix test
fileSize need to be divided by 8
-rw-r--r--weed/storage/needle/needle_read_write_test.go2
1 files changed, 1 insertions, 1 deletions
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()