Commit 59cfdfb8 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #38463 from jszczepkowski/hpa-e2e-fix5

Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463) HPA e2e tests: fixed waiting for service creation.
parents 9e3fc8de 2b070e17
...@@ -397,7 +397,7 @@ func runServiceAndWorkloadForResourceConsumer(c clientset.Interface, internalCli ...@@ -397,7 +397,7 @@ func runServiceAndWorkloadForResourceConsumer(c clientset.Interface, internalCli
} }
framework.ExpectNoError(framework.RunRC(controllerRcConfig)) framework.ExpectNoError(framework.RunRC(controllerRcConfig))
// Make sure endpoints are propagated. // Wait for endpoints to propagate for the controller service.
// TODO(piosz): replace sleep with endpoints watch. framework.ExpectNoError(framework.WaitForServiceEndpointsNum(
time.Sleep(10 * time.Second) c, ns, controllerName, 1, startServiceInterval, startServiceTimeout))
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment