diff --git a/controllers/cluster/cluster_intg_test.go b/controllers/cluster/cluster_intg_test.go index 8c83fd19..43258b53 100644 --- a/controllers/cluster/cluster_intg_test.go +++ b/controllers/cluster/cluster_intg_test.go @@ -153,6 +153,9 @@ func intgTestEnsureClusterHAProvider() { if err != nil { return false } + if len(service.Status.LoadBalancer.Ingress) == 0 { + return false + } if service.Status.LoadBalancer.Ingress[0].IP != "10.1.2.1" { return false }