Skip to content

Commit 64e55c5

Browse files
committed
Fix test yml
1 parent ea5b26e commit 64e55c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gateway-integration-test-postgres.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
5252
timeout 90 bash -c 'until curl -fsS http://localhost:9090/health >/dev/null; do sleep 2; done'
5353
54-
docker logs it-gateway-controller 2>&1 | grep -Eq "Initializing PostgreSQL storage|PostgreSQL schema up to date"
54+
docker logs it-gateway-controller > /tmp/gateway-controller.log 2>&1 || true
55+
grep -Eq "Initializing PostgreSQL storage|PostgreSQL schema up to date" /tmp/gateway-controller.log
5556
5657
schema_count="$(docker compose -p "$PROJECT" -f docker-compose.test.postgres.yaml exec -T postgres \
5758
psql -U gateway -d gateway_test -tAc "SELECT COUNT(*) FROM schema_migrations WHERE id = 1 AND version >= 1;")"

0 commit comments

Comments
 (0)