fix: make tests usable

This commit is contained in:
Maxim Dolgushin 2023-10-30 18:24:36 +07:00 committed by skeris
parent 3655c76289
commit 12cb0a6a27
2 changed files with 9 additions and 6 deletions

@ -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

0
tools/migrate Normal file → Executable file