Fixed cachingfs.
parent
2e6836708e
commit
182c96da07
|
@ -53,6 +53,10 @@ func (t *cachingFSTest) setUp(
|
||||||
getattrTimeout time.Duration) {
|
getattrTimeout time.Duration) {
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
// We assert things about whether or not mtimes are cached, but writeback
|
||||||
|
// caching causes them to always be cached. Turn it off.
|
||||||
|
t.MountConfig.DisableWritebackCaching = true
|
||||||
|
|
||||||
// Create the file system.
|
// Create the file system.
|
||||||
t.fs, err = cachingfs.NewCachingFS(lookupEntryTimeout, getattrTimeout)
|
t.fs, err = cachingfs.NewCachingFS(lookupEntryTimeout, getattrTimeout)
|
||||||
AssertEq(nil, err)
|
AssertEq(nil, err)
|
||||||
|
|
Loading…
Reference in New Issue