From 16bcef4f28c24b56d3896ac193226be139b4d2f2 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 17 Oct 2019 15:37:31 +0200 Subject: [PATCH] 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 --- tests/scripts/vagrant_up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5