"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 to have a higher threshold
Nick Craig-Wood37d5e75a569e
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.goindex e96b03741..3874db845 100644--- a/fs/operations/operations_test.go+++ b/fs/operations/operations_test.go@@ -1543,8 +1543,9 @@ func TestCopyFileMaxTransfer(t *testing.T) {ctx := context.Background()+ const sizeCutoff = 2048file1 := r.WriteFile("file1", "file1 contents", t1)- file2 := r.WriteFile("file2", "file2 contents...........", t2)+ file2 := r.WriteFile("file2", "file2 contents"+string(make([]byte, sizeCutoff)), t2)rfile1 := file1rfile1.Path = "sub/file1"@@ -1555,7 +1556,7 @@ func TestCopyFileMaxTransfer(t *testing.T) {rfile2c := file2rfile2c.Path = "sub/file2c"- fs.Config.MaxTransfer = 15+ fs.Config.MaxTransfer = sizeCutofffs.Config.CutoffMode = fs.CutoffModeHardaccounting.Stats(ctx).ResetCounters()