Displays time taken to run osbash

This displays the total time required to
run osbash in seconds.
Change-Id: I372e6551029fdc879f308659ca28bb114b07e3db
This commit is contained in:
sayalilunkad
2015年02月03日 02:30:26 +05:30
parent 1287d491bd
commit c3dbdbdf97

View File

@@ -162,6 +162,7 @@ if [ -z "${OSBASH:-}" -a -z "${WBATCH:-}" ]; then
exit
fi
STARTTIME=$(date +%s)
echo >&2 "$(date) osbash starting"
clean_dir "$LOG_DIR"
@@ -215,4 +216,6 @@ for node in $nodes; do
vm_build_node "$node"
done
#-------------------------------------------------------------------------------
ENDTIME=$(date +%s)
echo >&2 "$(date) osbash finished successfully"
echo "osbash completed in $(($ENDTIME - $STARTTIME)) seconds."
Reference in New Issue
openstack/training-guides
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.