generated from PenaSide/GolangTemplate
fix: make tests usable
This commit is contained in:
parent
3655c76289
commit
12cb0a6a27
@ -39,9 +39,12 @@ services:
|
|||||||
- 8082:8000
|
- 8082:8000
|
||||||
- 9092:9000
|
- 9092:9000
|
||||||
depends_on:
|
depends_on:
|
||||||
- customer-db
|
customer-db:
|
||||||
- customer-migration
|
condition: service_started
|
||||||
- redpanda
|
customer-migration:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
redpanda:
|
||||||
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- test
|
- test
|
||||||
|
|
||||||
@ -106,8 +109,8 @@ services:
|
|||||||
- test
|
- test
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
|
test: ["CMD-SHELL", "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
|
||||||
interval: 15s
|
interval: 2s
|
||||||
timeout: 3s
|
timeout: 2s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
|
|
||||||
|
0
tools/migrate
Normal file → Executable file
0
tools/migrate
Normal file → Executable file
Loading…
Reference in New Issue
Block a user