Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce a timeout for the update test. #3895

Merged
merged 1 commit into from
Jan 28, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion hack/e2e-suite/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ function validate() {

# Container turn up on a clean cluster can take a while for the docker image pull.
local num_running=0
while [[ $num_running -ne $num_replicas ]]; do
local i=0
while [[ ${num_running} -ne ${num_replicas} && ${i} -ne 100]]; do
((i++)) || true
echo "Waiting for all containers in pod to come up. Currently: ${num_running}/${num_replicas}"
sleep 2

Expand Down