Commit e8f397ba authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix thinkos in tests.

parent 7b832016
......@@ -169,8 +169,8 @@ func BenchmarkGoFuseThreadedStat(b *testing.B) {
ttl := 100 * time.Millisecond
opts := fuse.FileSystemOptions{
EntryTimeout: ttl.Seconds(),
AttrTimeout: ttl.Seconds(),
EntryTimeout: ttl,
AttrTimeout: ttl,
NegativeTimeout: 0.0,
}
wd, clean := setupFs(fs, &opts)
......
......@@ -10,6 +10,7 @@ import (
"log"
"os"
"runtime"
"time"
)
var _ = runtime.GOMAXPROCS
......
......@@ -6,12 +6,13 @@ import (
"log"
"os"
"testing"
"time"
)
var _ = log.Printf
var CheckSuccess = fuse.CheckSuccess
const testTtl = 0.1
const testTtl = 100 * time.Millisecond
func setupMzfs() (mountPoint string, cleanup func()) {
fs := NewMultiZipFs()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment