"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
vfs: fix another race in cache tests
Nick Craig-Wood8a9ed579518d
diff --git a/vfs/cache_test.go b/vfs/cache_test.goindex bda264ab4..5b8fd1f0f 100644--- a/vfs/cache_test.go+++ b/vfs/cache_test.go@@ -63,9 +63,9 @@ func TestCacheNew(t *testing.T) {defer r.Finalise()ctx, cancel := context.WithCancel(context.Background())- defer cancel()c, err := newCache(ctx, r.Fremote, &DefaultOpt)+ cancel() // kill the background cache cleaning as it interferes with the testsrequire.NoError(t, err)assert.Contains(t, c.root, "vfs")