You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/04/14 10:17:26 UTC

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

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

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

commit 0280ea8f84f4392b488f50154c5b81a4c955fb98
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);