You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2022/07/12 18:52:25 UTC
[camel-quarkus] 12/14: redis: Fix usage of deprecated method
This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 13abd18994e484ef202ebbcdbf20ef000e292078
Author: aldettinger <al...@gmail.com>
AuthorDate: Tue Jul 12 16:07:52 2022 +0200
redis: Fix usage of deprecated method
---
.../org/apache/camel/quarkus/component/redis/it/RedisTestResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/integration-tests-jvm/redis/src/test/java/org/apache/camel/quarkus/component/redis/it/RedisTestResource.java b/integration-tests-jvm/redis/src/test/java/org/apache/camel/quarkus/component/redis/it/RedisTestResource.java
index 9081d37dcd..1d4e940a82 100644
--- a/integration-tests-jvm/redis/src/test/java/org/apache/camel/quarkus/component/redis/it/RedisTestResource.java
+++ b/integration-tests-jvm/redis/src/test/java/org/apache/camel/quarkus/component/redis/it/RedisTestResource.java
@@ -42,7 +42,7 @@ public class RedisTestResource implements QuarkusTestResourceLifecycleManager {
container = new GenericContainer(REDIS_IMAGE).withExposedPorts(REDIS_PORT).waitingFor(Wait.forListeningPort());
container.start();
- final String authority = container.getContainerIpAddress() + ":" + container.getMappedPort(REDIS_PORT).toString();
+ final String authority = container.getHost() + ":" + container.getMappedPort(REDIS_PORT).toString();
return CollectionHelper.mapOf("camel.redis.test.server.authority", authority);
} catch (Exception e) {
throw new RuntimeException(e);