From bbf0d10b0456ed3d22ca8a9c2578538ef26b7207 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 22 Jan 2018 11:37:35 -0500 Subject: [PATCH] fix race condition in test --- integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test.go b/integration_test.go index 8b7e9d3e..30b68ad1 100644 --- a/integration_test.go +++ b/integration_test.go @@ -444,7 +444,7 @@ func TestFsnotifyDeleteWatchedDir(t *testing.T) { // Receive errors on the error channel on a separate goroutine go func() { for err := range watcher.Errors { - t.Fatalf("error received: %s", err) + t.Error("error received: %s", err) } }()