Merge pull request #8993 from wojtek-t/increase_limit

Increase timeout for verifying clusters to 10 minutes
This commit is contained in:
Filip Grzadkowski 2015-05-29 03:20:40 -07:00
commit 567519c78a

View File

@ -45,7 +45,8 @@ while true; do
if (( ${found} == "${NUM_MINIONS}" )) && (( ${ready} == "${NUM_MINIONS}")); then
break
else
if (( attempt > 20 )); then
# Set the timeout to ~10minutes (40 x 15 second) to avoid timeouts for 100-node clusters.
if (( attempt > 40 )); then
echo -e "${color_red}Detected ${ready} ready nodes, found ${found} nodes out of expected ${NUM_MINIONS}. Your cluster may not be working.${color_norm}"
cat -n "${MINIONS_FILE}"
exit 2