From 3fbbd7d6805e9dedbcbb2e0328969148bcc1e0a8 Mon Sep 17 00:00:00 2001 From: Flavia Rainone Date: Thu, 5 Aug 2021 03:58:48 -0300 Subject: [PATCH] [UNDERTOW-1523][UNDERTOW-1948] Ignore test this way --- .../streams/ServletOutputStreamSSLTestCase.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/servlet/src/test/java/io/undertow/servlet/test/streams/ServletOutputStreamSSLTestCase.java b/servlet/src/test/java/io/undertow/servlet/test/streams/ServletOutputStreamSSLTestCase.java index cc748fa3e9..1c65e201f1 100644 --- a/servlet/src/test/java/io/undertow/servlet/test/streams/ServletOutputStreamSSLTestCase.java +++ b/servlet/src/test/java/io/undertow/servlet/test/streams/ServletOutputStreamSSLTestCase.java @@ -18,6 +18,7 @@ import java.io.IOException; import org.junit.AfterClass; +import org.junit.Assume; import org.junit.BeforeClass; import org.junit.runner.RunWith; @@ -49,4 +50,16 @@ protected TestHttpClient createClient() { protected String getBaseUrl() { return DefaultServer.getDefaultServerSSLAddress(); } + + @Override public void testAsyncServletOutputStreamOffIOThread() { + // FIXME UNDERTOW-1948 temporarily ignore the exception + Assume.assumeFalse(System.getProperty("os.name").startsWith("Windows") && DefaultServer.isProxy() && DefaultServer.isAjp()); + super.testAsyncServletOutputStreamOffIOThread(); + } + + @Override public void testAsyncServletOutputStreamWithPreable() { + // FIXME UNDERTOW-1948 temporarily ignore the exception + Assume.assumeFalse(System.getProperty("os.name").startsWith("Windows") && DefaultServer.isProxy() && DefaultServer.isAjp()); + super.testAsyncServletOutputStreamWithPreable(); + } }