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

In this commit

0db3e7a2a0 vfs: fix slow nfs serve by adding --vfs-handle-caching

We added --vfs-handle-caching but unfortunately forgot to disable it
for the TestRWCacheUpdate test.
This commit is contained in:
Nick Craig-Wood
2026-04-07 23:25:54 +01:00
parent 561f20f83f
commit 1ac0c3eecb

View File

@@ -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 {