Implement SetUploadChunkSizer and SetUploadCutoffer in the tests so fstests can exercise the multipart upload path with small chunk sizes.
20 lines
380 B
Go
20 lines
380 B
Go
package filelu_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
)
|
|
|
|
// TestIntegration runs integration tests for the FileLu backend
|
|
func TestIntegration(t *testing.T) {
|
|
fstests.Run(t, &fstests.Opt{
|
|
RemoteName: "TestFileLu:",
|
|
NilObject: nil,
|
|
SkipInvalidUTF8: true,
|
|
ChunkedUpload: fstests.ChunkedUploadConfig{
|
|
MinChunkSize: 1,
|
|
},
|
|
})
|
|
}
|