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
Guillaume Abrioux 2019-10-17 15:37:31 +02:00
parent 2c96155c32
commit fc7212b192
1 changed files with 1 additions and 1 deletions

View 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