Browse Source

fix test

fileSize need to be divided by 8
pull/1833/head
Chris Lu 4 years ago
parent
commit
03c643aa6b
  1. 2
      weed/storage/needle/needle_read_write_test.go

2
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()

Loading…
Cancel
Save