فهرست منبع

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

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4439
Simon Frei 8 سال پیش
والد
کامیت
e70003737b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/fs/basicfs_watch_test.go

+ 1 - 1
lib/fs/basicfs_watch_test.go

@@ -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)