Skip to content

Commit

Permalink
Add: test for KairosDB accessibility in installation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeneventi committed Dec 23, 2024
1 parent c80f642 commit 49e49ff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/installation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ jobs:
# Wait for Grafana to be ready
timeout 60s bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "302" ]]; do sleep 5; done' || exit 1
- name: Test KairosDB accessibility
run: |
# Wait for KairosDB to be ready
timeout 60s bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8083/api/v1/health/check)" != "204" ]]; do
echo "Waiting for KairosDB..."
sleep 5
done' || exit 1
echo "KairosDB is healthy"
- name: Test MQTT broker
run: |
# Install mosquitto-clients for MQTT testing
Expand Down

0 comments on commit 49e49ff

Please sign in to comment.