Add retry to LookupHost used to check the content of ExternalName
This commit is contained in:
parent
3e3e29b78f
commit
0baf75cd17
3 changed files with 25 additions and 4 deletions
|
|
@ -83,7 +83,7 @@ func TestGetEndpoints(t *testing.T) {
|
|||
&corev1.Service{
|
||||
Spec: corev1.ServiceSpec{
|
||||
Type: corev1.ServiceTypeExternalName,
|
||||
ExternalName: "10.0.0.1.xip.io",
|
||||
ExternalName: "www.10.0.0.1.xip.io",
|
||||
Ports: []corev1.ServicePort{
|
||||
{
|
||||
Name: "default",
|
||||
|
|
@ -102,7 +102,7 @@ func TestGetEndpoints(t *testing.T) {
|
|||
},
|
||||
[]ingress.Endpoint{
|
||||
{
|
||||
Address: "10.0.0.1.xip.io",
|
||||
Address: "www.10.0.0.1.xip.io",
|
||||
Port: "80",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue