File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,11 @@ function os::start::master() {
290
290
os::cmd::try_until_text " oc get --raw /healthz --as system:unauthenticated --config='${ADMIN_KUBECONFIG} '" ' ok' $(( 160 * second )) 0.25
291
291
os::cmd::try_until_text " oc get --raw /healthz/ready --as system:unauthenticated --config='${ADMIN_KUBECONFIG} '" ' ok' $(( 160 * second )) 0.25
292
292
os::cmd::try_until_success " oc get service kubernetes --namespace default --config='${ADMIN_KUBECONFIG} '" $(( 160 * second )) 0.25
293
+
294
+ # wait for lease acquisition that indicates the controllers and scheduler have successfully started
295
+ os::cmd::try_until_success " oc get configmap kube-controller-manager --namespace kube-system --config='${ADMIN_KUBECONFIG} '" $(( 160 * second )) 0.25
296
+ os::cmd::try_until_success " oc get configmap openshift-master-controllers --namespace kube-system --config='${ADMIN_KUBECONFIG} '" $(( 160 * second )) 0.25
297
+ os::cmd::try_until_success " oc get configmap kube-scheduler --namespace kube-system --config='${ADMIN_KUBECONFIG} '" $(( 160 * second )) 0.25
293
298
os::test::junit::declare_suite_end
294
299
295
300
os::log::debug " OpenShift server health checks done at: $( date ) "
You can’t perform that action at this time.
0 commit comments