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


The following commit(s) were added to refs/heads/main by this push:
     new 42ad768f9f pg-replication-slot: fix usage of deprecated method
42ad768f9f is described below

commit 42ad768f9f814406a1d6fad7dc0211d620f5b7a1
Author: aldettinger <[email protected]>
AuthorDate: Mon Aug 29 15:41:55 2022 +0200

    pg-replication-slot: fix usage of deprecated method
---
 .../component/pg/replication/slot/it/PgReplicationSlotTestResource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/integration-tests/pg-replication-slot/src/test/java/org/apache/camel/quarkus/component/pg/replication/slot/it/PgReplicationSlotTestResource.java
 
b/integration-tests/pg-replication-slot/src/test/java/org/apache/camel/quarkus/component/pg/replication/slot/it/PgReplicationSlotTestResource.java
index 902b28b7a1..c7b696cba0 100644
--- 
a/integration-tests/pg-replication-slot/src/test/java/org/apache/camel/quarkus/component/pg/replication/slot/it/PgReplicationSlotTestResource.java
+++ 
b/integration-tests/pg-replication-slot/src/test/java/org/apache/camel/quarkus/component/pg/replication/slot/it/PgReplicationSlotTestResource.java
@@ -55,7 +55,7 @@ public class PgReplicationSlotTestResource implements 
QuarkusTestResourceLifecyc
         pgContainer.start();
 
         // Print Postgres server connectivity information
-        String pgAuthority = pgContainer.getContainerIpAddress() + ":" + 
pgContainer.getMappedPort(POSTGRES_PORT);
+        String pgAuthority = pgContainer.getHost() + ":" + 
pgContainer.getMappedPort(POSTGRES_PORT);
         LOG.debug("Postgres database available at " + pgAuthority);
 
         return mapOf(PG_AUTHORITY_CFG_KEY, pgAuthority, PG_DBNAME_CFG_KEY, 
POSTGRES_DB_NAME, PG_USER_CFG_KEY, POSTGRES_USER,

Reply via email to