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 merge requests found
......@@ -92,9 +92,9 @@ jobs:
name: metabase-${{ matrix.edition }}-uberjar
- name: Launch uberjar
run: |
java -jar ./target/uberjar/metabase.jar &
sleep 180
run: java -jar ./target/uberjar/metabase.jar &
- name: Wait for Metabase to start
run: while ! curl -s localhost:3000/api/health; do sleep 1; done
timeout-minutes: 5
- 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