Disable flaky Http2MultiplexTransportTest test on Windows (#11554)

* Disable flaky tests on Windows
This commit is contained in:
Aayush Atharva 2021-08-09 22:01:04 +05:30 committed by GitHub
parent 214448af03
commit 0772e50750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,8 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout; import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
import javax.net.ssl.SSLException; import javax.net.ssl.SSLException;
import javax.net.ssl.X509TrustManager; import javax.net.ssl.X509TrustManager;
@ -455,6 +457,7 @@ public class Http2MultiplexTransportTest {
} }
@Test @Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "See: https://github.com/netty/netty/issues/11542")
@Timeout(value = 5000L, unit = MILLISECONDS) @Timeout(value = 5000L, unit = MILLISECONDS)
public void testFireChannelReadAfterHandshakeSuccess_JDK() throws Exception { public void testFireChannelReadAfterHandshakeSuccess_JDK() throws Exception {
assumeTrue(SslProvider.isAlpnSupported(SslProvider.JDK)); assumeTrue(SslProvider.isAlpnSupported(SslProvider.JDK));
@ -462,6 +465,7 @@ public class Http2MultiplexTransportTest {
} }
@Test @Test
@DisabledOnOs(value = OS.WINDOWS, disabledReason = "See: https://github.com/netty/netty/issues/11542")
@Timeout(value = 5000L, unit = MILLISECONDS) @Timeout(value = 5000L, unit = MILLISECONDS)
public void testFireChannelReadAfterHandshakeSuccess_OPENSSL() throws Exception { public void testFireChannelReadAfterHandshakeSuccess_OPENSSL() throws Exception {
assumeTrue(OpenSsl.isAvailable()); assumeTrue(OpenSsl.isAvailable());