Commit 18880d90 authored by Filipe Brandenburger's avatar Filipe Brandenburger

Merge pull request #3895 from brendandburns/e2e

introduce a timeout for the update test.
parents c27bc2f3 281b3c15
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment