This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new 59d04c3deeb Fix
org.apache.cxf.systest.http2.netty.NettyClientServerHttp2Test test cases (due
to Netty changes)
59d04c3deeb is described below
commit 59d04c3deeb2be6cf107e2009c3af84d8aaa7e49
Author: Andriy Redko <[email protected]>
AuthorDate: Tue Jun 2 18:38:57 2026 -0400
Fix org.apache.cxf.systest.http2.netty.NettyClientServerHttp2Test test
cases (due to Netty changes)
---
.../cxf/systest/http2/netty/AbstractNettyClientServerHttp2Test.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/AbstractNettyClientServerHttp2Test.java
b/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/AbstractNettyClientServerHttp2Test.java
index 4d888abd453..11e6627326b 100644
---
a/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/AbstractNettyClientServerHttp2Test.java
+++
b/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/AbstractNettyClientServerHttp2Test.java
@@ -25,7 +25,8 @@ import org.apache.cxf.jaxrs.client.WebClient;
import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
import org.apache.cxf.transport.http.HTTPConduit;
import org.apache.cxf.transport.http.netty.client.NettyHttpConduit;
-import org.apache.cxf.transport.https.InsecureTrustManager;
+
+import io.netty.handler.ssl.util.InsecureTrustManagerFactory;
import org.junit.Test;
@@ -161,7 +162,7 @@ abstract class AbstractNettyClientServerHttp2Test extends
AbstractBusClientServe
}
// Create TrustManager instance which trusts all clients and
servers
-
params.setTrustManagers(InsecureTrustManager.getNoOpX509TrustManagers());
+
params.setTrustManagers(InsecureTrustManagerFactory.INSTANCE.getTrustManagers());
params.setDisableCNCheck(true);
}