You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/03/20 16:32:25 UTC

[camel-quarkus] 07/07: Use QUARKUS_HTTP_PORT env in LraTestResource (#4670)

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch 2.13.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit d1da61a75070e09354e2393da17c785b2dbf8803
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Mon Mar 20 16:37:18 2023 +0800

    Use QUARKUS_HTTP_PORT env in LraTestResource (#4670)
---
 .../org/apache/camel/quarkus/component/lra/it/LraTestResource.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/integration-tests/lra/src/test/java/org/apache/camel/quarkus/component/lra/it/LraTestResource.java b/integration-tests/lra/src/test/java/org/apache/camel/quarkus/component/lra/it/LraTestResource.java
index 72c856ec57..a9fb8ae379 100644
--- a/integration-tests/lra/src/test/java/org/apache/camel/quarkus/component/lra/it/LraTestResource.java
+++ b/integration-tests/lra/src/test/java/org/apache/camel/quarkus/component/lra/it/LraTestResource.java
@@ -41,7 +41,7 @@ public class LraTestResource implements QuarkusTestResourceLifecycleManager {
                 hostname = "localhost";
                 container = new GenericContainer(LRA_IMAGE)
                         .withNetworkMode("host")
-                        .withEnv("quarkus.http.port", String.valueOf(LRA_PORT))
+                        .withEnv("QUARKUS_HTTP_PORT", String.valueOf(LRA_PORT))
                         .waitingFor(Wait.forLogMessage(".*lra-coordinator-quarkus.*", 1));
                 container.start();
                 lraPort = LRA_PORT;
@@ -50,7 +50,7 @@ public class LraTestResource implements QuarkusTestResourceLifecycleManager {
                 container = new GenericContainer(LRA_IMAGE)
                         .withNetworkMode("bridge")
                         .withExposedPorts(LRA_PORT)
-                        .withEnv("quarkus.http.port", String.valueOf(LRA_PORT))
+                        .withEnv("QUARKUS_HTTP_PORT", String.valueOf(LRA_PORT))
                         .waitingFor(Wait.forLogMessage(".*lra-coordinator-quarkus.*", 1));
                 container.start();
                 lraPort = container.getMappedPort(LRA_PORT);