lib/fs: make watcher tests even more darwin slowness resistant

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4439
This commit is contained in:
Simon Frei 2017-10-20 15:59:18 +00:00
parent f98c21b68e
commit e70003737b
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ func testScenario(t *testing.T, name string, testCase func(), expectedEvents []E
// they get flushed to disk with a delay.
initDelayMs := 500
if runtime.GOOS == "darwin" {
initDelayMs = 900
initDelayMs = 2000
}
sleepMs(initDelayMs)