This is an automated email from the ASF dual-hosted git repository. valdar pushed a commit to branch camel-kafka-connector-0.11.x in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
commit 0fc701c315cdffeb7c404a5609d5b80a458f7d7b Author: Andrea Tarocchi <andrea.taroc...@gmail.com> AuthorDate: Wed Feb 23 12:27:48 2022 +0100 Removed possible port clash in tests. --- .../apache/camel/kafkaconnector/cxf/source/CamelSourceCXFITCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/source/CamelSourceCXFITCase.java b/tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/source/CamelSourceCXFITCase.java index d9dfb6f..eec6d88 100644 --- a/tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/source/CamelSourceCXFITCase.java +++ b/tests/itests-cxf/src/test/java/org/apache/camel/kafkaconnector/cxf/source/CamelSourceCXFITCase.java @@ -40,7 +40,7 @@ import static org.junit.jupiter.api.Assertions.fail; */ public class CamelSourceCXFITCase extends CamelSourceTestSupport { - protected static final int PORT = NetworkUtils.getFreePort("localhost"); + protected static final int PORT = NetworkUtils.getFreePort("localhost", NetworkUtils.DEFAULT_STARTING_PORT - 200, NetworkUtils.DEFAULT_STARTING_PORT - 100); protected static final String SIMPLE_ENDPOINT_ADDRESS = "http://localhost:" + PORT + "/CxfConsumerTest/test"; protected static final String SIMPLE_ENDPOINT_URI = SIMPLE_ENDPOINT_ADDRESS + "?serviceClass=org.apache.camel.kafkaconnector.cxf.common.HelloService"