1
0
mirror of https://github.com/google/nomulus synced 2026-01-06 21:47:31 +00:00

Temporarily disable channel alive assertions in SSL fai...

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185990383
This commit is contained in:
mcilwain
2018-02-16 07:02:41 -08:00
committed by jianglai
parent 738994b6f6
commit 15f871a605
2 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ public class SslClientInitializerTest {
.isInstanceOf(SSLHandshakeException.class);
assertThat(serverException).hasCauseThat().isInstanceOf(DecoderException.class);
assertThat(serverException).hasCauseThat().hasCauseThat().isInstanceOf(SSLException.class);
//assertThat(channel.isActive()).isFalse();
assertThat(channel.isActive()).isFalse();
Future<?> unusedFuture = eventLoopGroup.shutdownGracefully().syncUninterruptibly();
}
@@ -281,7 +281,7 @@ public class SslClientInitializerTest {
.contains(SSL_HOST);
assertThat(serverException).hasCauseThat().isInstanceOf(DecoderException.class);
assertThat(serverException).hasCauseThat().hasCauseThat().isInstanceOf(SSLException.class);
//assertThat(channel.isActive()).isFalse();
assertThat(channel.isActive()).isFalse();
Future<?> unusedFuture = eventLoopGroup.shutdownGracefully().syncUninterruptibly();
}

View File

@@ -278,7 +278,7 @@ public class SslServerInitializerTest {
.hasCauseThat()
.hasCauseThat()
.isInstanceOf(SSLHandshakeException.class);
//assertThat(channel.isActive()).isFalse();
assertThat(channel.isActive()).isFalse();
Future<?> unusedFuture = eventLoopGroup.shutdownGracefully().syncUninterruptibly();
}
@@ -340,7 +340,7 @@ public class SslServerInitializerTest {
.contains(SSL_HOST);
assertThat(serverException).hasCauseThat().isInstanceOf(DecoderException.class);
assertThat(serverException).hasCauseThat().hasCauseThat().isInstanceOf(SSLException.class);
//assertThat(channel.isActive()).isFalse();
assertThat(channel.isActive()).isFalse();
Future<?> unusedFuture = eventLoopGroup.shutdownGracefully().syncUninterruptibly();
}