From: Guillaume Abrioux Date: Thu, 17 Oct 2019 13:37:31 +0000 (+0200) Subject: tests: add time command in vagrant_up.sh X-Git-Tag: v4.0.8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fc7212b192f0f75579c0e215c26b38b9e87a273e;p=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 (cherry picked from commit 16bcef4f28c24b56d3896ac193226be139b4d2f2) --- diff --git a/tests/scripts/vagrant_up.sh b/tests/scripts/vagrant_up.sh index 5ec9aff20..cd690961a 100644 --- a/tests/scripts/vagrant_up.sh +++ b/tests/scripts/vagrant_up.sh @@ -4,7 +4,7 @@ retries=0 until [ $retries -ge 5 ] do echo "Attempting to start VMs. Attempts: $retries" - timeout 10m vagrant up "$@" && break + timeout 10m time vagrant up "$@" && break retries=$[$retries+1] sleep 5 done