mirror of https://github.com/status-im/consul.git
agent/local: address remaining test feedback
This commit is contained in:
parent
9f128e40d6
commit
8c72bb0cdf
|
@ -1637,7 +1637,7 @@ func TestAgent_AliasCheck(t *testing.T) {
|
||||||
case <-notifyCh:
|
case <-notifyCh:
|
||||||
t.Fatal("notify received")
|
t.Fatal("notify received")
|
||||||
|
|
||||||
case <-time.After(50 * time.Millisecond):
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update other check and verify we do not get notified
|
// Update other check and verify we do not get notified
|
||||||
|
@ -1646,7 +1646,7 @@ func TestAgent_AliasCheck(t *testing.T) {
|
||||||
case <-notifyCh:
|
case <-notifyCh:
|
||||||
t.Fatal("notify received")
|
t.Fatal("notify received")
|
||||||
|
|
||||||
case <-time.After(50 * time.Millisecond):
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update change and verify we get notified
|
// Update change and verify we get notified
|
||||||
|
|
Loading…
Reference in New Issue