agent/local: address remaining test feedback

This commit is contained in:
Mitchell Hashimoto 2018-07-19 14:20:50 -05:00
parent 81f6486fb5
commit e42ca78c5d
No known key found for this signature in database
GPG key ID: 744E147AA52F5B0A

View file

@ -1637,7 +1637,7 @@ func TestAgent_AliasCheck(t *testing.T) {
case <-notifyCh:
t.Fatal("notify received")
case <-time.After(50 * time.Millisecond):
default:
}
// Update other check and verify we do not get notified
@ -1646,7 +1646,7 @@ func TestAgent_AliasCheck(t *testing.T) {
case <-notifyCh:
t.Fatal("notify received")
case <-time.After(50 * time.Millisecond):
default:
}
// Update change and verify we get notified