Merge pull request #3895 from brendandburns/e2e

introduce a timeout for the update test.
This commit is contained in:
Filipe Brandenburger 2015-01-28 14:42:21 -08:00
commit 18880d9086

View File

@ -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