Adding all the tests and fixes to the passengers app

This commit is contained in:
Muluhabt
2026-07-21 13:45:49 +03:00
parent 8ce2d2d874
commit f2ae9c883f
3316 changed files with 15548 additions and 37 deletions

View File

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