Skip to content

Commit

Permalink
unit test should set both probes to over threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
laurafitzgerald committed Sep 5, 2023
1 parent b87550f commit e1b8aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/dnspolicy/dns_helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ func Test_dnsHelper_setEndpoints(t *testing.T) {
},
Status: v1alpha1.DNSHealthCheckProbeStatus{
Healthy: aws.Bool(false),
ConsecutiveFailures: 2,
ConsecutiveFailures: 6,
},
},

Expand All @@ -1632,7 +1632,7 @@ func Test_dnsHelper_setEndpoints(t *testing.T) {
},
Status: v1alpha1.DNSHealthCheckProbeStatus{
Healthy: aws.Bool(false),
ConsecutiveFailures: 2,
ConsecutiveFailures: 6,
},
},
wantSpec: &v1alpha1.DNSRecordSpec{
Expand Down

0 comments on commit e1b8aae

Please sign in to comment.