"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
fstests: add integration test for OpenChunkWriter uploading to the wrong name
Nick Craig-Wood0180301b3f69
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex dc9529289..cfc4cf069 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -802,8 +802,8 @@ func Run(t *testing.T, opt *Opt) {contents3 := random.String(size1MB)path := "writer-at-subdir/writer-at-file"- objSrc := object.NewStaticObjectInfo(path, file1.ModTime, -1, true, nil, nil)- _, out, err := openChunkWriter(ctx, objSrc.Remote(), objSrc, &fs.ChunkOption{+ objSrc := object.NewStaticObjectInfo(path+"-WRONG-REMOTE", file1.ModTime, -1, true, nil, nil)+ _, out, err := openChunkWriter(ctx, path, objSrc, &fs.ChunkOption{ChunkSize: int64(size5MBs),})require.NoError(t, err)