-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
getLivenessCheckPortNumbers() should return mapped port #5734
getLivenessCheckPortNumbers() should return mapped port #5734
Conversation
...es/mssqlserver/src/test/java/org/testcontainers/junit/mssqlserver/SimpleMSSQLServerTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I think this fix changes the linked issue, I have a feeling that the overrides of getLivenessCheckPortNumbers()
are generally not necessary anymore. However, this might require some deeper tracing of the code and create some refactoring opportunities. We just need to be aware, that getLivenessCheckPortNumbers()
is part of the public API.
...es/mssqlserver/src/test/java/org/testcontainers/junit/mssqlserver/SimpleMSSQLServerTest.java
Show resolved
Hide resolved
6ee7a80
to
4612773
Compare
modules/mysql/src/main/java/org/testcontainers/containers/MySQLContainer.java
Show resolved
Hide resolved
modules/mssqlserver/src/main/java/org/testcontainers/containers/MSSQLServerContainer.java
Show resolved
Hide resolved
Thank you @kiview for the review - I've addressed your comments. I'm feeling more comfortable with this PR now as it gets rid of dead code and increases meaningful test coverage. |
I've updated this with master - hopefully that fixes the build |
Ah yes, sorry about this @REslim30. There was an issue with a republished Gradle plugin from which |
…testcontainers-java into get-liveness-check-mapped-port
modules/mysql/src/main/java/org/testcontainers/containers/MySQLContainer.java
Show resolved
Hide resolved
Updated the PR, since CI was failing because of #5761. |
…testcontainers-java into get-liveness-check-mapped-port
modules/trino/src/test/java/org/testcontainers/containers/TrinoContainerTest.java
Show resolved
Hide resolved
modules/db2/src/test/java/org/testcontainers/junit/db2/SimpleDb2ContainerTest.java
Outdated
Show resolved
Hide resolved
modules/db2/src/test/java/org/testcontainers/junit/db2/SimpleDb2ContainerTest.java
Outdated
Show resolved
Hide resolved
...es/mssqlserver/src/test/java/org/testcontainers/junit/mssqlserver/SimpleMSSQLServerTest.java
Outdated
Show resolved
Hide resolved
modules/db2/src/test/java/org/testcontainers/junit/db2/SimpleDb2ContainerTest.java
Outdated
Show resolved
Hide resolved
modules/trino/src/test/java/org/testcontainers/containers/TrinoContainerTest.java
Show resolved
Hide resolved
Thank you @eddumelendez for the review. I've addressed your suggestions. Merged in master as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for this nice cleanup PR @REslim30. |
Addresses issue #5283