Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

operations: skip part of the --max-transfer test under chunker

Nick Craig-Woodf94257115f59
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.go
index 3874db845..e084f90f1 100644
--- a/fs/operations/operations_test.go
+++ b/fs/operations/operations_test.go
@@ -1584,6 +1584,11 @@ func TestCopyFileMaxTransfer(t *testing.T) {
fstest.CheckItems(t, r.Flocal, file1, file2)
fstest.CheckItems(t, r.Fremote, rfile1)
+ if strings.HasPrefix(r.Fremote.Name(), "TestChunker") {
+ t.Log("skipping remainder of test for chunker as it involves multiple transfers")
+ return
+ }
+
fs.Config.CutoffMode = fs.CutoffModeSoft
accounting.Stats(ctx).ResetCounters()