Skip to content

Commit

Permalink
Merge pull request kubernetes#6304 from roberthbailey/test-cmd-timeout
Browse files Browse the repository at this point in the history
Increase the time we wait for the kubelet to be healthy.
  • Loading branch information
vmarmol committed Apr 2, 2015
2 parents 3f2309a + 1fa7955 commit 312bc71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/test-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ kube::log::status "Starting kubelet in masterless mode"
--address="127.0.0.1" \
--port="$KUBELET_PORT" 1>&2 &
KUBELET_PID=$!
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: "
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: " 0.2 25
kill ${KUBELET_PID} 1>&2 2>/dev/null

kube::log::status "Starting kubelet in masterful mode"
Expand All @@ -78,7 +78,7 @@ kube::log::status "Starting kubelet in masterful mode"
--port="$KUBELET_PORT" 1>&2 &
KUBELET_PID=$!

kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: "
kube::util::wait_for_url "http://127.0.0.1:${KUBELET_PORT}/healthz" "kubelet: " 0.2 25

# Start kube-apiserver
kube::log::status "Starting kube-apiserver"
Expand Down

0 comments on commit 312bc71

Please sign in to comment.