You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix SirixDB healthcheck to use HTTP instead of HTTPS
- Changed healthcheck from https://localhost:9443 to http://localhost:9443
- Tests use HTTP, not HTTPS, so healthcheck must match
- Improved test.sh with better error handling and container status output
- Added exit with error and logs if SirixDB fails to start
- This should fix the infinite waiting loop in CI
docker compose -f ./tests/resources/docker-compose.yml up -d keycloak
3
-
echo"waiting for keycloak to be ready..."
6
+
7
+
echo"Waiting for Keycloak to be ready..."
4
8
bash ./tests/resources/wait.sh
9
+
echo"Keycloak is ready!"
10
+
11
+
echo"Starting SirixDB server..."
5
12
docker compose -f ./tests/resources/docker-compose.yml up -d server
6
-
echo"waiting for sirix server to be ready..."
7
-
bash -c 'for i in {1..30}; do if curl -k -s -f https://localhost:9443 > /dev/null 2>&1; then echo "SirixDB is ready"; break; fi; echo "Waiting for SirixDB..."; sleep 2; done'
13
+
14
+
echo"Waiting for SirixDB server to be ready..."
15
+
foriin {1..30};do
16
+
if curl -s -f http://localhost:9443 > /dev/null 2>&1;then
0 commit comments