mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
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.
This commit is contained in:
commit
59cfdfb8db
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user