forked from datafold/data-diff
-
Notifications
You must be signed in to change notification settings - Fork 1
ci: add Presto healthcheck to docker-compose #39
Copy link
Copy link
Open
Labels
P1-highHigh priority, next 2-4 weeksHigh priority, next 2-4 weeksciCI/CD pipelineCI/CD pipelinetriage
Description
Problem
Presto service in docker-compose.yml (lines 93-105) has no healthcheck. The --wait flag returns immediately, meaning tests can hit Presto before the JVM coordinator finishes startup, causing flaky CI.
Fix
Add healthcheck using Presto's /v1/info endpoint:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/v1/info"]
interval: 10s
timeout: 5s
retries: 12
start_period: 30sAcceptance Criteria
- Presto service has healthcheck in docker-compose.yml
-
make up-fullwaits for Presto to be ready before returning
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1-highHigh priority, next 2-4 weeksHigh priority, next 2-4 weeksciCI/CD pipelineCI/CD pipelinetriage