Fixed cachingfs.

geesefs-0-30-9
Aaron Jacobs 2015-08-12 02:35:41 +00:00
parent 2e6836708e
commit 182c96da07
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ func (t *cachingFSTest) setUp(
getattrTimeout time.Duration) {
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.
t.fs, err = cachingfs.NewCachingFS(lookupEntryTimeout, getattrTimeout)
AssertEq(nil, err)