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

Use getHost instead of getContainerIpAddress #1431

Merged
merged 1 commit into from
May 23, 2022
Merged

Use getHost instead of getContainerIpAddress #1431

merged 1 commit into from
May 23, 2022

Conversation

eddumelendez
Copy link
Contributor

getContainerIpAddress is deprecated

getContainerIpAddress is deprecated
@gsmet
Copy link
Member

gsmet commented May 21, 2022

Hi @eddumelendez .

Thanks for this but changes to the guides need to be done there: https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc .

Once it's in the main repo, I'll merge your PR though as fixing old branches is a good idea.

@eddumelendez
Copy link
Contributor Author

Hi @gsmet, I submitted quarkusio/quarkus#25584 and it was merged already

@gsmet
Copy link
Member

gsmet commented May 23, 2022

Sorry I missed it. I'll wait for CI and merge. Thanks!

@@ -613,7 +613,7 @@ public class KafkaAndSchemaRegistryTestResource implements QuarkusTestResourceLi
registry.start();
Map<String, String> properties = new HashMap<>();
properties.put("mp.messaging.connector.smallrye-kafka.apicurio.registry.url",
"http://" + registry.getContainerIpAddress() + ":" + registry.getMappedPort(8080) + "/apis/registry/v2");
"http://" + registry.getHost() + ":" + registry.getMappedPort(8080) + "/apis/registry/v2");
Copy link
Member

Choose a reason for hiding this comment

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

Just to be sure: have you checked if this method is already there in the version of Testcontainers used in 2.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gsmet gsmet merged commit 39585ed into quarkusio:develop May 23, 2022
@gsmet
Copy link
Member

gsmet commented May 23, 2022

Merged, thanks!

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