"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
test_all: run the 50 byte chunker tests against Minio instead of AWS S3
Nick Craig-Woodc9a5f106a469
diff --git a/fs/sync/sync_test.go b/fs/sync/sync_test.goindex 29eb7fb6a..61adb4ce2 100644--- a/fs/sync/sync_test.go+++ b/fs/sync/sync_test.go@@ -1677,8 +1677,8 @@ func TestSyncWithTrackRenamesStrategyLeaf(t *testing.T) {func toyFileTransfers(r *fstest.Run) int64 {remote := r.Fremote.Name()transfers := 1- if strings.HasPrefix(remote, "TestChunker") && strings.HasSuffix(remote, "S3") {- transfers++ // Extra Copy because S3 emulates Move as Copy+Delete.+ if unWrap := r.Fremote.Features().UnWrap; strings.HasPrefix(remote, "TestChunker") && unWrap != nil && unWrap().Features().Move == nil {+ transfers++ // Extra Copy because chunker emulates Move as Copy+Delete.}return int64(transfers)}diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yamlindex 0b7c08c9b..677ed4b88 100644--- a/fstest/test_all/config.yaml+++ b/fstest/test_all/config.yaml@@ -84,15 +84,15 @@ backends:remote: "TestChunkerS3:"fastlist: true- backend: "chunker"- remote: "TestChunkerChunk50bS3:"+ remote: "TestChunkerChunk50bMinio:"fastlist: truemaxfile: 1k- backend: "chunker"- remote: "TestChunkerChunk50bMD5HashS3:"+ remote: "TestChunkerChunk50bMD5HashMinio:"fastlist: truemaxfile: 1k- backend: "chunker"- remote: "TestChunkerChunk50bSHA1HashS3:"+ remote: "TestChunkerChunk50bSHA1HashMinio:"fastlist: truemaxfile: 1k- backend: "chunker"@@ -100,11 +100,11 @@ backends:fastlist: truemaxfile: 6k- backend: "chunker"- remote: "TestChunkerChunk50bMD5QuickS3:"+ remote: "TestChunkerChunk50bMD5QuickMinio:"fastlist: truemaxfile: 1k- backend: "chunker"- remote: "TestChunkerChunk50bSHA1QuickS3:"+ remote: "TestChunkerChunk50bSHA1QuickMinio:"fastlist: truemaxfile: 1k## end chunker