test: Fix flaky DNS tests that check for valid IP (#968)

This commit is contained in:
TwiN authored and GitHub committed 2025-01-18 20:26:25 -05:00
1 parent 9157b5bf67
commit 69dbe4fa23
2 files changed
+33 -17

No files matched your search

+1 -1
View File
@@ -761,7 +761,7 @@ func TestIntegrationEvaluateHealthWithErrorAndHideURL(t *testing.T) {
func TestIntegrationEvaluateHealthForDNS(t *testing.T) {
conditionSuccess := Condition("[DNS_RCODE] == NOERROR")
conditionBody := Condition("[BODY] == 93.184.215.14")
conditionBody := Condition("[BODY] == pat(*.*.*.*)")
endpoint := Endpoint{
Name: "example",
URL: "8.8.8.8",