mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
test: increase sleep time for test
This commit is contained in:
parent
f498f24032
commit
aa92adcdd5
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user