Skip to content
Snippets Groups Projects
Unverified Commit 014d3c6d authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Continuously check when Metabase is ready, instead of waiting 3 mins (#17369)

parent b5cc69e0
No related branches found
No related tags found
No related merge requests found
...@@ -92,9 +92,9 @@ jobs: ...@@ -92,9 +92,9 @@ jobs:
name: metabase-${{ matrix.edition }}-uberjar name: metabase-${{ matrix.edition }}-uberjar
- name: Launch uberjar - name: Launch uberjar
run: | run: java -jar ./target/uberjar/metabase.jar &
java -jar ./target/uberjar/metabase.jar & - name: Wait for Metabase to start
sleep 180 run: while ! curl -s localhost:3000/api/health; do sleep 1; done
timeout-minutes: 5 timeout-minutes: 5
- name: Check API health - name: Check API health
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment