fix test
fileSize need to be divided by 8
This commit is contained in:
@@ -48,7 +48,7 @@ func TestAppend(t *testing.T) {
|
|||||||
int64 : -9223372036854775808 to 9223372036854775807
|
int64 : -9223372036854775808 to 9223372036854775807
|
||||||
*/
|
*/
|
||||||
|
|
||||||
fileSize := int64(4294967295) + 10000
|
fileSize := int64(4294967296) + 10000
|
||||||
tempFile.Truncate(fileSize)
|
tempFile.Truncate(fileSize)
|
||||||
defer func() {
|
defer func() {
|
||||||
tempFile.Close()
|
tempFile.Close()
|
||||||
|
|||||||
Reference in New Issue
Block a user