X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=validation-scripts%2Fall-nodes.sh;h=0b8b35235477369243a665f5171acb455472e5d8;hb=32f84e5e6e6129c73c1bf40a1935e10e2fe5e1e2;hp=1c834e76b266e3dc3d5a149adfa3dbc5e4a49039;hpb=6a794c43280e0c04a1d373500dbb2eeea7799a9c;p=apex-tripleo-heat-templates.git diff --git a/validation-scripts/all-nodes.sh b/validation-scripts/all-nodes.sh index 1c834e76..0b8b3523 100644 --- a/validation-scripts/all-nodes.sh +++ b/validation-scripts/all-nodes.sh @@ -10,7 +10,7 @@ function ping_retry() { PING_CMD=ping6 fi until [ $COUNT -ge $TIMES ]; do - if $PING_CMD -W 300 -c 1 $IP_ADDR &> /dev/null; then + if $PING_CMD -w 300 -c 1 $IP_ADDR &> /dev/null; then echo "Ping to $IP_ADDR succeeded." return 0 fi