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

jamesnetherton 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 5beab29  Fix Splunk container exposed ports configuration
5beab29 is described below

commit 5beab2962f18c4ac35cf6b3050d1f7cdc7770fd9
Author: James Netherton <[email protected]>
AuthorDate: Thu Aug 26 16:42:00 2021 +0100

    Fix Splunk container exposed ports configuration
---
 .../apache/camel/quarkus/component/splunk/it/SplunkTestResource.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/integration-tests/splunk/src/test/java/org/apache/camel/quarkus/component/splunk/it/SplunkTestResource.java
 
b/integration-tests/splunk/src/test/java/org/apache/camel/quarkus/component/splunk/it/SplunkTestResource.java
index b9f295c..7968895 100644
--- 
a/integration-tests/splunk/src/test/java/org/apache/camel/quarkus/component/splunk/it/SplunkTestResource.java
+++ 
b/integration-tests/splunk/src/test/java/org/apache/camel/quarkus/component/splunk/it/SplunkTestResource.java
@@ -38,8 +38,7 @@ public class SplunkTestResource implements 
QuarkusTestResourceLifecycleManager {
 
         try {
             container = new GenericContainer("splunk/splunk:8.1.2")
-                    .withExposedPorts(REMOTE_PORT)
-                    .withExposedPorts(SplunkResource.LOCAL_TCP_PORT)
+                    .withExposedPorts(REMOTE_PORT, 
SplunkResource.LOCAL_TCP_PORT)
                     .withEnv("SPLUNK_START_ARGS", "--accept-license")
                     .withEnv("SPLUNK_PASSWORD", "changeit")
                     .withEnv("SPLUNK_LICENSE_URI", "Free")

Reply via email to