diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-05-19 08:48:57 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-05-19 08:48:57 +0000 |
commit | 5a3fc23806cb86ff58f56aacf61d1886de386233 (patch) | |
tree | 3812f553d6365dde0a523635e745b94d703b90ba /validation-scripts | |
parent | 5b95df3ee3b9cd4a4bcc4ad49fc2d201295ac3a2 (diff) | |
parent | 099ac31f8fc39d318d6ba8b03bd85693899673bf (diff) |
Merge "Change ping wait flag"
Diffstat (limited to 'validation-scripts')
-rw-r--r-- | validation-scripts/all-nodes.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |