mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 21:36:24 +00:00
Merge pull request #3895 from brendandburns/e2e
introduce a timeout for the update test.
This commit is contained in:
commit
18880d9086
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user