We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc529f commit 5d9dafbCopy full SHA for 5d9dafb
pkg/k8s/dialer_test.go
@@ -198,7 +198,7 @@ func TestDialUnreachable(t *testing.T) {
198
t.Error("error was expected but got nil")
199
return
200
}
201
- if !strings.Contains(err.Error(), "no such host") {
+ if !strings.Contains(err.Error(), "no such host") && !strings.Contains(err.Error(), "does not resolve") {
202
t.Errorf("error %q doesn't contain expected substring: ", err.Error())
203
204
0 commit comments