mirror of
https://github.com/rclone/rclone.git
synced 2026-05-12 01:57:56 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user