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:
parent
f98c21b68e
commit
e70003737b
@ -201,7 +201,7 @@ func testScenario(t *testing.T, name string, testCase func(), expectedEvents []E
|
|||||||
// they get flushed to disk with a delay.
|
// they get flushed to disk with a delay.
|
||||||
initDelayMs := 500
|
initDelayMs := 500
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
initDelayMs = 900
|
initDelayMs = 2000
|
||||||
}
|
}
|
||||||
sleepMs(initDelayMs)
|
sleepMs(initDelayMs)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user