This is an automated email from the ASF dual-hosted git repository. tcunning pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0e51fa02d02478421d33138f7444c36f799fc764 Author: Tom Cunningham <[email protected]> AuthorDate: Wed Dec 17 19:38:41 2025 -0500 Netty 4.2 enables hostname verification by default - override with io.netty.handler.ssl.defaultEndpointVerificationAlgorithm=NONE for the test --- .../org/apache/camel/component/knative/http/KnativeHttpTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/camel-knative/camel-knative-http/src/test/java/org/apache/camel/component/knative/http/KnativeHttpTest.java b/components/camel-knative/camel-knative-http/src/test/java/org/apache/camel/component/knative/http/KnativeHttpTest.java index cf64d5c696f1..103845a526c4 100644 --- a/components/camel-knative/camel-knative-http/src/test/java/org/apache/camel/component/knative/http/KnativeHttpTest.java +++ b/components/camel-knative/camel-knative-http/src/test/java/org/apache/camel/component/knative/http/KnativeHttpTest.java @@ -51,6 +51,7 @@ import org.apache.camel.util.ObjectHelper; import org.apache.camel.util.StringHelper; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.EnumSource; @@ -74,6 +75,11 @@ public class KnativeHttpTest { private int platformHttpPort; private String platformHttpHost; + @BeforeAll + public static void beforeAll() { + System.setProperty("io.netty.handler.ssl.defaultEndpointVerificationAlgorithm", "NONE"); + } + // ************************** // // Setup
