From: Martin Tournoij Date: Sat, 14 Jan 2023 21:09:21 +0000 (+0100) Subject: Increase wait on TestClose() X-Git-Tag: v1.7.2~13 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=68dd9cbae23ed1ebb7d3340a3ed977884b1514e0;p=fsnotify.git Increase wait on TestClose() Should hopefully help with: https://github.com/fsnotify/fsnotify/issues/538#issuecomment-1318173851 --- diff --git a/fsnotify_test.go b/fsnotify_test.go index e57f229..c88d39f 100644 --- a/fsnotify_test.go +++ b/fsnotify_test.go @@ -968,7 +968,7 @@ func TestClose(t *testing.T) { // which may take a little bit. switch runtime.GOOS { case "freebsd", "openbsd", "netbsd", "dragonfly", "darwin", "solaris", "illumos": - time.Sleep(5 * time.Millisecond) + time.Sleep(50 * time.Millisecond) } select {