fix: integration tests

This commit is contained in:
Ricardo Arturo Cabral Mejía
2022-12-21 00:01:18 -05:00
parent 77f59fb9b7
commit f3c801e503

View File

@ -44,7 +44,7 @@ services:
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: ["CMD-SHELL", "pg_isready -U postgres"]
timeout: 5s timeout: 5s
start_period: 5s start_period: 10s
retries: 0 retries: 0
cache-test: cache-test:
image: redis:7.0.5-alpine3.16 image: redis:7.0.5-alpine3.16
@ -73,7 +73,8 @@ services:
- ../../migrations:/code/migrations - ../../migrations:/code/migrations
- ../../knexfile.js:/code/knexfile.js - ../../knexfile.js:/code/knexfile.js
depends_on: depends_on:
- db-test db-test:
condition: service_healthy
networks: networks:
- nostr-ts-relay-test - nostr-ts-relay-test
links: links: