]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: add time command in vagrant_up.sh v4.0.8
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 17 Oct 2019 13:37:31 +0000 (15:37 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 10 Jan 2020 16:41:27 +0000 (17:41 +0100)
monitor how long it takes to get all VMs up and running

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 16bcef4f28c24b56d3896ac193226be139b4d2f2)

tests/scripts/vagrant_up.sh

index 5ec9aff20203dd1a73fe5d58110e57c902d86621..cd690961a74a001b5ac6147142725a934402da28 100644 (file)
@@ -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