diff --git a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java index 33af5ed185b12..9ba93b8f91bf1 100644 --- a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java +++ b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java @@ -59,8 +59,6 @@ public void testThatNettyHttpServerRequestBlockedWithHeaderVerifier() throws Exc FullHttpResponse blockedResponse = nettyHttpClient.send(transportAddress.address(), blockedRequest); responses.add(blockedResponse); assertThat(blockedResponse.status().code(), equalTo(401)); - } catch (Exception e) { - e.printStackTrace(); } finally { responses.forEach(ReferenceCounted::release); }