Skip to content

Commit 91e75b8

Browse files
AchoArnoldCopilot
andcommitted
fix(tests): remove curl-based healthcheck from sqld container
The ghcr.io/tursodatabase/libsql-server:latest image is based on debian:bullseye-slim and does not include curl. The health check was always failing, causing the container to be reported as unhealthy and blocking the api service from starting. Instead, use service_started condition since sqld starts nearly instantly and the workflow already has an explicit health polling step that checks sqld readiness from the host before running tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 244548a commit 91e75b8

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/docker-compose.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ services:
2929
image: ghcr.io/tursodatabase/libsql-server:latest
3030
ports:
3131
- "8090:8080"
32-
healthcheck:
33-
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
34-
interval: 5s
35-
timeout: 5s
36-
retries: 10
3732

3833
wiremock:
3934
image: wiremock/wiremock:3x
@@ -64,7 +59,7 @@ services:
6459
wiremock:
6560
condition: service_healthy
6661
sqld:
67-
condition: service_healthy
62+
condition: service_started
6863
env_file:
6964
- .env.test
7065
environment:

0 commit comments

Comments
 (0)