Fail faster on boot up (#6412)
This commit is contained in:
parent
b7b71b31d3
commit
b4ed88e0f7
|
@ -102,7 +102,7 @@ waitForNodeToInit() {
|
|||
echo "--- waiting for node to boot up"
|
||||
SECONDS=
|
||||
while [[ ! -r $initCompleteFile ]]; do
|
||||
if [[ $SECONDS -ge 720 ]]; then
|
||||
if [[ $SECONDS -ge 120 ]]; then
|
||||
echo "^^^ +++"
|
||||
echo "Error: $initCompleteFile not found in $SECONDS seconds"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue