From 68dd9cbae23ed1ebb7d3340a3ed977884b1514e0 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sat, 14 Jan 2023 22:09:21 +0100 Subject: [PATCH] Increase wait on TestClose() Should hopefully help with: https://github.com/fsnotify/fsnotify/issues/538#issuecomment-1318173851 --- fsnotify_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.50.1