diff --git a/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java b/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java index 2467689e7976..f760d28f46ff 100644 --- a/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java +++ b/http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java @@ -93,15 +93,4 @@ public void acquireAfterCloseFails() throws InterruptedException { assertThat(h2Pool.acquire().await().isSuccess()).isFalse(); } - - @Test - public void releaseAfterCloseFails() throws InterruptedException { - ChannelPool connectionPool = Mockito.mock(ChannelPool.class); - - Http2MultiplexedChannelPool h2Pool = new Http2MultiplexedChannelPool(connectionPool, loopGroup.next(), 2, Collections.emptyList()); - - h2Pool.close(); - - assertThat(h2Pool.release(Mockito.mock(Channel.class)).await().isSuccess()).isFalse(); - } }