mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-22 21:09:58 +00:00
aws integration tests are flaky because we didn't wait for the services to become healthy. (we only waited for the localstack service, this PR adds wait for sub services)
19 lines
458 B
YAML
19 lines
458 B
YAML
version: "3.9"
|
|
services:
|
|
localstack:
|
|
image: localstack/localstack:0.14
|
|
ports:
|
|
- 4566:4566
|
|
environment:
|
|
- SERVICES=s3,dynamodb
|
|
- DEBUG=1
|
|
- LS_LOG=trace
|
|
- DOCKER_HOST=unix:///var/run/docker.sock
|
|
- AWS_ACCESS_KEY_ID=ACCESSKEY
|
|
- AWS_SECRET_ACCESS_KEY=SECRETKEY
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "-f", "http://localhost:4566/health" ]
|
|
interval: 5s
|
|
retries: 3
|
|
start_period: 10s
|