"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
operations: fix --max-transfer test with jottacloud
Nick Craig-Wood4c82b1f3c68a
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.goindex e084f90f1..20d00e4af 100644--- a/fs/operations/operations_test.go+++ b/fs/operations/operations_test.go@@ -44,6 +44,7 @@ import ("github.com/rclone/rclone/fs/hash""github.com/rclone/rclone/fs/operations""github.com/rclone/rclone/fstest"+ "github.com/rclone/rclone/lib/random""github.com/stretchr/testify/assert""github.com/stretchr/testify/require")@@ -1545,7 +1546,7 @@ func TestCopyFileMaxTransfer(t *testing.T) {const sizeCutoff = 2048file1 := r.WriteFile("file1", "file1 contents", t1)- file2 := r.WriteFile("file2", "file2 contents"+string(make([]byte, sizeCutoff)), t2)+ file2 := r.WriteFile("file2", "file2 contents"+random.String(sizeCutoff), t2)rfile1 := file1rfile1.Path = "sub/file1"