Now measure time spent in sanity checks.

This commit is contained in:
Marc CARRE committed 2017-01-09 09:17:45 +00:00
1 parent f05169e457
commit 172597a68d
1 file changed
+4
+4
View File
@@ -4,6 +4,8 @@
set -e
begin=$(date +%s)
whitely echo Ping each host from the other
# We wrap ping and echo in a function as we want the below parallel for loop
@@ -55,3 +57,5 @@ for host in $HOSTS; do
pids="$pids $!"
done
for pid in $pids; do wait $pid; done
echo "Sanity checks completed successfully in $(date -u -d @$(($(date +%s)-$begin)) +"%T")."