diff --git a/deployments/test/docker-compose.yaml b/deployments/test/docker-compose.yaml index c5a5c92..44d80f1 100644 --- a/deployments/test/docker-compose.yaml +++ b/deployments/test/docker-compose.yaml @@ -39,9 +39,12 @@ services: - 8082:8000 - 9092:9000 depends_on: - - customer-db - - customer-migration - - redpanda + customer-db: + condition: service_started + customer-migration: + condition: service_completed_successfully + redpanda: + condition: service_healthy networks: - test @@ -106,8 +109,8 @@ services: - test healthcheck: test: ["CMD-SHELL", "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"] - interval: 15s - timeout: 3s + interval: 2s + timeout: 2s retries: 5 start_period: 5s @@ -172,4 +175,4 @@ services: CONNECT_LOG_LEVEL: info networks: - test: \ No newline at end of file + test: diff --git a/tools/migrate b/tools/migrate old mode 100644 new mode 100755