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

andor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new ddb4e9413 Disable ClientSSLTest for s390x only (#2057)
ddb4e9413 is described below

commit ddb4e941381eb68f375ba7baef545e61d300569f
Author: vibhutisawant <[email protected]>
AuthorDate: Thu Oct 5 15:06:35 2023 +0530

    Disable ClientSSLTest for s390x only (#2057)
---
 .../src/test/java/org/apache/zookeeper/test/ClientSSLTest.java         | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java 
b/zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java
index b77283da7..f23f7c7d4 100644
--- 
a/zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java
+++ 
b/zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java
@@ -27,6 +27,7 @@ import static org.hamcrest.CoreMatchers.startsWith;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assumptions.assumeFalse;
 import io.netty.handler.ssl.SslProvider;
 import java.io.IOException;
 import java.net.InetAddress;
@@ -147,6 +148,8 @@ public class ClientSSLTest extends QuorumPeerTestBase {
     @ParameterizedTest(name = "sslProvider={0}, fipsEnabled={1}, 
hostnameVerification={2}")
     @MethodSource("positiveTestData")
     public void testClientServerSSL_positive(SslProvider sslProvider, String 
fipsEnabled, String hostnameVerification) throws Exception {
+        //Skipping this test for s390x arch as netty-tc-native is not supported
+        assumeFalse(System.getProperty("os.arch").contains("s390x"), " 
Skipping for s390x arch as netty-tcnative is not yet supported.");
         // Arrange
         System.setProperty(clientX509Util.getSslProviderProperty(), 
sslProvider.toString());
         System.setProperty(clientX509Util.getFipsModeProperty(), fipsEnabled);

Reply via email to