diff --git a/test/monitor_test.go b/test/monitor_test.go index d68c6224..a1da1f0b 100644 --- a/test/monitor_test.go +++ b/test/monitor_test.go @@ -523,6 +523,9 @@ func TestHTTPHost(t *testing.T) { } break } + if ip != nil { + break + } } if ip == nil { t.Fatalf("Could not find non-loopback IPV4 address")