From 873cde75100fe39ccdf79556294c2d71e2b71dd7 Mon Sep 17 00:00:00 2001 From: Dongie Agnir Date: Fri, 14 Dec 2018 09:27:33 -0800 Subject: [PATCH] Remove unnecessary test Tests behavior that is not being enforced. Forgot to remove from #950 --- .../http2/Http2MultiplexedChannelPoolTest.java | 11 ----------- 1 file changed, 11 deletions(-) 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(); - } }