Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

vfs: fix tests after --vfs-handle-caching

Nick Craig-Wood1ac0c3eecb2b
diff --git a/vfs/read_write_test.go b/vfs/read_write_test.go
index 5b30ed675..b0e05a84e 100644
--- a/vfs/read_write_test.go
+++ b/vfs/read_write_test.go
@@ -723,6 +723,7 @@ func TestRWCacheUpdate(t *testing.T) {
opt.CacheMode = vfscommon.CacheModeFull
opt.WriteBack = writeBackDelay
opt.DirCacheTime = fs.Duration(100 * time.Millisecond)
+ opt.HandleCaching = 0
r, vfs := newTestVFSOpt(t, &opt)
if r.Fremote.Precision() == fs.ModTimeNotSupported {