From 7b76d3ec1262f3b37482863a3df6026b2e4ca2da Mon Sep 17 00:00:00 2001 From: Sanjay Pujare Date: Tue, 28 Dec 2021 20:47:22 -0800 Subject: [PATCH] more debug only changes14 --- .../src/test/java/io/grpc/netty/ProtocolNegotiatorsTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netty/src/test/java/io/grpc/netty/ProtocolNegotiatorsTest.java b/netty/src/test/java/io/grpc/netty/ProtocolNegotiatorsTest.java index 747925b2d65c..10862d5a6e1b 100644 --- a/netty/src/test/java/io/grpc/netty/ProtocolNegotiatorsTest.java +++ b/netty/src/test/java/io/grpc/netty/ProtocolNegotiatorsTest.java @@ -415,7 +415,9 @@ public void from_tls_clientAuthRequire_noClientCert() throws Exception { .trustManager(caCert) .build(); Status status = expectFailedHandshake(channelCreds, serverCreds); - assertThat(status.getDescription()).isAnyOf("ssl exception", "io exception"); + if (!"ssl exception".equals(status.getDescription())) { + assertThat(status.getDescription()).startsWith("io exception"); + } } @Test