Skip to content

test: wait for postgres to accept connections - #56

Merged
FournyP merged 1 commit into
mainfrom
fix/postgres-test-readiness
Nov 25, 2026
Merged

FournyP merged 1 commit into
mainfrom
fix/postgres-test-readiness

Conversation

@FournyP

@FournyP FournyP commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

The integration tests only waited for port 5432, which opens shortly before Postgres accepts queries, so the first query sometimes failed with the database system is starting up (57P03). They now also wait for Postgres's second ready log: the first comes from the temporary init server.

Measured, with and without TLS: 19 of 80 container starts failed before, 0 of 80 after.

@FournyP
FournyP merged commit bc2fdb3 into main Nov 25, 2026
3 checks passed
@FournyP
FournyP deleted the fix/postgres-test-readiness branch November 25, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant