"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
bisync: fix chunker integration tests
nielashd915f75edf61
diff --git a/cmd/bisync/bisync_test.go b/cmd/bisync/bisync_test.goindex 7f49b2921..0fc680e82 100644--- a/cmd/bisync/bisync_test.go+++ b/cmd/bisync/bisync_test.go@@ -1018,6 +1018,7 @@ func (b *bisyncTest) checkPreReqs(ctx context.Context, opt *bisync.Options) (con}// test if modtimes are writeabletestSetModtime := func(f fs.Fs) {+ ctx := accounting.WithStatsGroup(ctx, random.String(8)) // keep stats separatein := bytes.NewBufferString("modtime_write_test")objinfo := object.NewStaticObjectInfo("modtime_write_test", initDate, int64(len("modtime_write_test")), true, nil, nil)obj, err := f.Put(ctx, in, objinfo)@@ -1031,6 +1032,8 @@ func (b *bisyncTest) checkPreReqs(ctx context.Context, opt *bisync.Options) (con}if err == fs.ErrorCantSetModTimeWithoutDelete { // transfers stats expected to differ on this backendlogReplacements = append(logReplacements, `^.*There was nothing to transfer.*$`, dropMe)+ } else {+ require.NoError(b.t, err)}if !f.Features().IsLocal {time.Sleep(time.Second) // avoid GoogleCloudStorage Error 429 rateLimitExceeded