mirror of https://github.com/ceph/ceph-ansible.git
tests: add time command in vagrant_up.sh
monitor how long it takes to get all VMs up and running
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 16bcef4f28
)
pull/4928/head
v4.0.8
parent
2c96155c32
commit
fc7212b192
|
@ -4,7 +4,7 @@ retries=0
|
||||||
until [ $retries -ge 5 ]
|
until [ $retries -ge 5 ]
|
||||||
do
|
do
|
||||||
echo "Attempting to start VMs. Attempts: $retries"
|
echo "Attempting to start VMs. Attempts: $retries"
|
||||||
timeout 10m vagrant up "$@" && break
|
timeout 10m time vagrant up "$@" && break
|
||||||
retries=$[$retries+1]
|
retries=$[$retries+1]
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue