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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
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