test: increase sleep time for test

This commit is contained in:
Frank Schroeder 2017-05-23 22:56:10 +02:00
parent f498f24032
commit aa92adcdd5
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD

View File

@ -76,7 +76,7 @@ func TestCheckMonitor_Timeout(t *testing.T) {
check.Start() check.Start()
defer check.Stop() defer check.Stop()
time.Sleep(50 * time.Millisecond) time.Sleep(150 * time.Millisecond)
// Should have at least 2 updates // Should have at least 2 updates
if notif.Updates("foo") < 2 { if notif.Updates("foo") < 2 {