From 35757e6c09c2676ba999e169d28656a688fa463e Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 23 May 2017 22:56:10 +0200 Subject: [PATCH] test: increase sleep time for test --- command/agent/check_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/check_test.go b/command/agent/check_test.go index 5dd3fe035..9f182fcc5 100644 --- a/command/agent/check_test.go +++ b/command/agent/check_test.go @@ -76,7 +76,7 @@ func TestCheckMonitor_Timeout(t *testing.T) { check.Start() defer check.Stop() - time.Sleep(50 * time.Millisecond) + time.Sleep(150 * time.Millisecond) // Should have at least 2 updates if notif.Updates("foo") < 2 {