Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Special treatment for os-net-config upgrade." into stable/pike
[apex-tripleo-heat-templates.git]
/
validation-scripts
/
all-nodes.sh
diff --git
a/validation-scripts/all-nodes.sh
b/validation-scripts/all-nodes.sh
index
ed7fefb
..
296dcd3
100644
(file)
--- a/
validation-scripts/all-nodes.sh
+++ b/
validation-scripts/all-nodes.sh
@@
-10,12
+10,13
@@
function ping_retry() {
PING_CMD=ping6
fi
until [ $COUNT -ge $TIMES ]; do
PING_CMD=ping6
fi
until [ $COUNT -ge $TIMES ]; do
- if $PING_CMD -w
30
0 -c 1 $IP_ADDR &> /dev/null; then
+ if $PING_CMD -w
1
0 -c 1 $IP_ADDR &> /dev/null; then
echo "Ping to $IP_ADDR succeeded."
return 0
fi
echo "Ping to $IP_ADDR failed. Retrying..."
COUNT=$(($COUNT + 1))
echo "Ping to $IP_ADDR succeeded."
return 0
fi
echo "Ping to $IP_ADDR failed. Retrying..."
COUNT=$(($COUNT + 1))
+ sleep 60
done
return 1
}
done
return 1
}