File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ wget -q https://downloads.metabase.com/v$MB_VERSION/metabase.jar
2424# starting metabase jar locally
2525java -jar metabase.jar > logs 2>&1 &
2626
27- # waiting 60 seconds for the initialization to complete
28- sleep 60
27+ # waiting 45 seconds for the initialization to complete
28+ sleep 45
2929
30- # checking whether the metabase initialization has completed. If not, wait another 60 seconds
30+ # checking whether the metabase initialization has completed. If not, wait another 45 seconds
3131success=' False'
3232grep -q " Metabase Initialization COMPLETE" logs
3333if [[ $? -eq 0 ]]
3434then
3535 echo ' success!'
3636 success=' True'
3737else
38- echo " Waiting an extra 60 seconds for the initialization to complete"
39- sleep 60
38+ echo " Waiting an extra 45 seconds for the initialization to complete"
39+ sleep 45
4040 grep -q " Metabase Initialization COMPLETE" logs
4141 if [[ $? -eq 0 ]]
4242 then
You can’t perform that action at this time.
0 commit comments