mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-04 16:16:58 +02:00
fix test
fileSize need to be divided by 8
This commit is contained in:
parent
7635f6b9fa
commit
03c643aa6b
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue