mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Increase timeout for API server startup in hack/test-update-storage-objects.sh
This commit is contained in:
@@ -56,7 +56,8 @@ function startApiServer() {
|
|||||||
--service-cluster-ip-range="10.0.0.0/24" 1>&2 &
|
--service-cluster-ip-range="10.0.0.0/24" 1>&2 &
|
||||||
APISERVER_PID=$!
|
APISERVER_PID=$!
|
||||||
|
|
||||||
kube::util::wait_for_url "http://127.0.0.1:${API_PORT}/healthz" "apiserver: "
|
# url, prefix, wait, times
|
||||||
|
kube::util::wait_for_url "http://127.0.0.1:${API_PORT}/healthz" "apiserver: " 1 45
|
||||||
}
|
}
|
||||||
|
|
||||||
function killApiServer() {
|
function killApiServer() {
|
||||||
|
Reference in New Issue
Block a user