Merge "Simplify ping usage for service VM check in CI"

This commit is contained in:
Jenkins 2015-12-01 09:44:16 +00:00 committed by Gerrit Code Review
commit 56ccb015c8
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ function manila_check_service_vm_availability {
wait_timeout=300
available='false'
while (( wait_timeout > 0 )) ; do
if [[ "$(ping -w 1 $1)" =~ "1 received" ]]; then
if ping -w 1 $1; then
available='true'
break
fi