Skip to content

Conversation

@mchwalek
Copy link
Contributor

@mchwalek mchwalek commented Oct 7, 2025

Fixes #89

@database = database || ENV.fetch("POSTGRES_DATABASE", POSTGRES_DEFAULT_DATABASE)
@healthcheck ||= add_healthcheck(_default_healthcheck_options)
@wait_for ||= add_wait_for(:healthcheck)
@wait_for = add_wait_for(:healthcheck) if !@wait_for || !kwargs[:wait_for]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm wondering whether I should get the param from kwargs or just specify it in the constructor

@guilleiguaran
Copy link
Member

@mchwalek thanks for you pull request, I did an extended fix for this since it was affecting not only for Postgres but all other modules but I used your the tests to verify Postgres work as expected.

See 200b1ae

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.

PostgresContainer - wait_for breaks when using port_bindings

2 participants