Fail faster on boot up (#6412)

This commit is contained in:
Dan Albert
2019-10-17 12:26:12 -04:00
committed by GitHub
parent b7b71b31d3
commit b4ed88e0f7

View File

@ -102,7 +102,7 @@ waitForNodeToInit() {
echo "--- waiting for node to boot up" echo "--- waiting for node to boot up"
SECONDS= SECONDS=
while [[ ! -r $initCompleteFile ]]; do while [[ ! -r $initCompleteFile ]]; do
if [[ $SECONDS -ge 720 ]]; then if [[ $SECONDS -ge 120 ]]; then
echo "^^^ +++" echo "^^^ +++"
echo "Error: $initCompleteFile not found in $SECONDS seconds" echo "Error: $initCompleteFile not found in $SECONDS seconds"
exit 1 exit 1