"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 TestMoveOntoItself on eventually consistent backends
Nick Craig-Wood611416b14070
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.goindex 6f2cc6c12..b5057170f 100644--- a/fs/operations/operations_test.go+++ b/fs/operations/operations_test.go@@ -1145,9 +1145,9 @@ func TestMoveOntoItself(t *testing.T) {t.Run(fmt.Sprintf("viaSubdir=%v,disableMove=%v", viaSubdir, disableMove), func(t *testing.T) {r := fstest.NewRunIndividual(t)file1 := r.WriteObject(ctx, "sub/file1", "file1 contents", t1)- src, err := r.Fremote.NewObject(ctx, file1.Path)- require.NoError(t, err)+ src := fstest.NewObject(ctx, t, r.Fremote, file1.Path)+ var err errorfdst, remote := r.Fremote, src.Remote()if viaSubdir {fdst, err = fs.NewFs(ctx, fspath.JoinRootPath(fs.ConfigStringFull(r.Fremote), "sub"))