Use 127.0.0.1 in ICMP test

This commit is contained in:
TwinProduction
2020-12-25 03:05:47 -05:00
parent cf923af230
commit 746032397e
13 changed files with 9942 additions and 2 deletions

View File

@ -249,8 +249,8 @@ func TestIntegrationEvaluateHealthForDNS(t *testing.T) {
func TestIntegrationEvaluateHealthForICMP(t *testing.T) {
conditionSuccess := Condition("[CONNECTED] == true")
service := Service{
Name: "Google",
URL: "icmp://google.com",
Name: "ICMP example",
URL: "icmp://127.0.0.1",
Conditions: []*Condition{&conditionSuccess},
}
result := service.EvaluateHealth()