diff --git a/junixsocket-common/src/test/java/org/newsclub/net/unix/domain/ThroughputTest.java b/junixsocket-common/src/test/java/org/newsclub/net/unix/domain/ThroughputTest.java index aeb1df241..ee0ff1876 100644 --- a/junixsocket-common/src/test/java/org/newsclub/net/unix/domain/ThroughputTest.java +++ b/junixsocket-common/src/test/java/org/newsclub/net/unix/domain/ThroughputTest.java @@ -17,6 +17,9 @@ */ package org.newsclub.net.unix.domain; +import static org.junit.jupiter.api.Assumptions.assumeFalse; + +import org.junit.jupiter.api.Test; import org.newsclub.net.unix.AFSocketCapability; import org.newsclub.net.unix.AFSocketCapabilityRequirement; @@ -34,4 +37,20 @@ public ThroughputTest() { protected String stbTestType() { return "AF_UNIX"; } + + @Override + @Test + public void testDatagramChannelNonBlocking() throws Exception { + assumeFalse("z/OS".equals(System.getProperty("os.name", "")), + "KNOWN ISSUE: Test may fail on z/OS"); + super.testDatagramChannelNonBlocking(); + } + + @Override + @Test + public void testDatagramChannelNonBlockingDirect() throws Exception { + assumeFalse("z/OS".equals(System.getProperty("os.name", "")), + "KNOWN ISSUE: Test may fail on z/OS"); + super.testDatagramChannelNonBlockingDirect(); + } }