Skip to content

Commit 49e49ff

Browse files
committed
Add: test for KairosDB accessibility in installation workflow
1 parent c80f642 commit 49e49ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/installation-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ jobs:
4141
# Wait for Grafana to be ready
4242
timeout 60s bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3000)" != "302" ]]; do sleep 5; done' || exit 1
4343
44+
- name: Test KairosDB accessibility
45+
run: |
46+
# Wait for KairosDB to be ready
47+
timeout 60s bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8083/api/v1/health/check)" != "204" ]]; do
48+
echo "Waiting for KairosDB..."
49+
sleep 5
50+
done' || exit 1
51+
echo "KairosDB is healthy"
52+
4453
- name: Test MQTT broker
4554
run: |
4655
# Install mosquitto-clients for MQTT testing

0 commit comments

Comments
 (0)