Skip to content

Centralize Postgres container initialization utilities#1633

Open
jgaleotti wants to merge 1 commit into
masterfrom
fix_postgres_container_flakiness
Open

Centralize Postgres container initialization utilities#1633
jgaleotti wants to merge 1 commit into
masterfrom
fix_postgres_container_flakiness

Conversation

@jgaleotti

Copy link
Copy Markdown
Collaborator

Fixes bug causing "FATAL: the database system is starting up" error during container setup.

…ize Postgres container initialization and JDBC URL retrieval using `PostgresContainerUtils`.
@jgaleotti jgaleotti requested a review from arcuri82 July 7, 2026 22:13
@@ -0,0 +1,48 @@
package com.foo.spring.rest.postgres

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should really avoid code-duplication.
here, the same class is repeated 3 times.
better to put it in its own module (client-java/postgres-test-utils), and import it where needed

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.

2 participants