Skip to content

Commit

Permalink
Update integration-tests-jvm/elasticsearch-rest-client/src/test/java/…
Browse files Browse the repository at this point in the history
…org/apache/camel/quarkus/component/elasticsearch/rest/client/it/ElasticsearchTestResource.java

Co-authored-by: James Netherton <jamesnetherton@users.noreply.github.com>
  • Loading branch information
zbendhiba and jamesnetherton authored Feb 9, 2024
1 parent f2a2bbd commit 9b24921
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Map<String, String> start() {

container.start();

String hostAddresses = String.format("localhost:%s", container.getMappedPort(ELASTICSEARCH_PORT));
String hostAddresses = String.format("%s:%s", container.getHost(), container.getMappedPort(ELASTICSEARCH_PORT));

// Component configuration where the ElasticSearch client is managed by Camel (E.g autowiring disabled)
return CollectionHelper.mapOf(
Expand Down

0 comments on commit 9b24921

Please sign in to comment.