mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 09:58:12 +00:00
Adding all the tests and fixes to the passengers app
This commit is contained in:
@@ -10,10 +10,10 @@ export DATABASE_URL="postgresql://edr:edr_secret@localhost:5544/edr_database?sch
|
||||
export DATABASE_HOST=localhost DATABASE_PORT=5544 DATABASE_NAME=edr_database
|
||||
export DATABASE_USER=edr DATABASE_PASSWORD=edr_secret DATABASE_SCHEMA=iam
|
||||
|
||||
echo "==> Starting test Postgres (port 5544)"
|
||||
echo "==> Starting test Postgres (5544) + RabbitMQ (5672)"
|
||||
docker compose -f "$HERE/docker-compose.yml" up -d
|
||||
|
||||
echo "==> Waiting for healthy"
|
||||
echo "==> Waiting for Postgres healthy"
|
||||
for i in $(seq 1 30); do
|
||||
status="$(docker inspect --format '{{.State.Health.Status}}' edr-passenger-e2e-db 2>/dev/null || echo none)"
|
||||
[ "$status" = "healthy" ] && break
|
||||
|
||||
Reference in New Issue
Block a user