Skip to content
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

Enable command override for PostgreSQLContainer #938

Merged
merged 15 commits into from
Jul 22, 2019

Conversation

kellen
Copy link
Contributor

@kellen kellen commented Oct 26, 2018

This corrects #937 for postgres removing the setCommand call in PostgreSQLContainer#configure() and thereby enabling command overrides.

Copy link
Member

@kiview kiview left a comment

Choose a reason for hiding this comment

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

Can you also please use the container inside a try-with-resource block?

kiview and others added 2 commits November 3, 2018 20:26
Co-Authored-By: kellen <kellen@users.noreply.github.com>
Co-Authored-By: kellen <kellen@users.noreply.github.com>
@stale
Copy link

stale bot commented Feb 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Feb 2, 2019
@rnorth
Copy link
Member

rnorth commented Feb 9, 2019

Shall we complete this? @kellen please let us know if you don't have time - it is something I could pick up and finalise.

@stale stale bot removed the stale label Feb 9, 2019
@kellen
Copy link
Contributor Author

kellen commented Feb 14, 2019

@rnorth Yes, please do. I've just started a new job so this has been a low priority for me, sorry!

…mand

# Conflicts:
#	modules/jdbc-test/src/test/java/org/testcontainers/junit/SimplePostgreSQLTest.java
#	modules/postgresql/src/main/java/org/testcontainers/containers/PostgreSQLContainer.java
@rnorth
Copy link
Member

rnorth commented Mar 18, 2019

@kiview I've finished this off - please could you take another look? 😁

@rnorth rnorth requested a review from kiview March 18, 2019 20:59
@rnorth rnorth dismissed kiview’s stale review May 7, 2019 11:26

Stale - needs re-review

@rnorth
Copy link
Member

rnorth commented May 28, 2019

Fixes #937

@rnorth rnorth self-assigned this Jul 21, 2019
@rnorth rnorth merged commit 908a4ec into testcontainers:master Jul 22, 2019
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.

None yet

5 participants