Skip to content

fix: Copy super constructors to JDBC and PostgreSQL #7968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reneleonhardt
Copy link

@reneleonhardt reneleonhardt commented Dec 18, 2023

Copy constructors to JDBC and PostgreSQL to support builder pattern (migrate Future image first with Flyway, then start pre-migrated image).
After the major changes in 1.19.2 the custom GenericContainer couldn't recognise the successful start anymore.

Furthermore:

  • Support waitingFor PostgreSQL replicas: "database system is ready to accept read-only connections"
  • Fixed a few warnings

Is GenericContainer#waitingFor(WaitStrategy) still consistent? It seems calling setWaitStrategy(WaitStrategy) there would make more sense now to stay compatible/in sync with ContainerDef.

Support replicas: "database system is ready to accept read-only connections"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant