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 2d75ff0 commit eb0ada3Copy full SHA for eb0ada3
pkg/k8s/dialer_test.go
@@ -195,7 +195,7 @@ func TestDialUnreachable(t *testing.T) {
195
t.Error("error was expected but got nil")
196
return
197
}
198
- if !strings.Contains(err.Error(), "no such host") {
+ if !strings.Contains(err.Error(), "no such host") && !strings.Contains(err.Error(), "does not resolve") {
199
t.Errorf("error %q doesn't contain expected substring: ", err.Error())
200
201
0 commit comments