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.CacheMode = vfscommon.CacheModeFull
|
||||||
opt.WriteBack = writeBackDelay
|
opt.WriteBack = writeBackDelay
|
||||||
opt.DirCacheTime = fs.Duration(100 * time.Millisecond)
|
opt.DirCacheTime = fs.Duration(100 * time.Millisecond)
|
||||||
|
opt.HandleCaching = 0
|
||||||
r, vfs := newTestVFSOpt(t, &opt)
|
r, vfs := newTestVFSOpt(t, &opt)
|
||||||
|
|
||||||
if r.Fremote.Precision() == fs.ModTimeNotSupported {
|
if r.Fremote.Precision() == fs.ModTimeNotSupported {
|
||||||
|
|||||||
Reference in New Issue
Block a user