Skip to content

Commit 873cde7

Browse files
committed
Remove unnecessary test
Tests behavior that is not being enforced. Forgot to remove from #950
1 parent 1164b4f commit 873cde7

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2MultiplexedChannelPoolTest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,4 @@ public void acquireAfterCloseFails() throws InterruptedException {
9393

9494
assertThat(h2Pool.acquire().await().isSuccess()).isFalse();
9595
}
96-
97-
@Test
98-
public void releaseAfterCloseFails() throws InterruptedException {
99-
ChannelPool connectionPool = Mockito.mock(ChannelPool.class);
100-
101-
Http2MultiplexedChannelPool h2Pool = new Http2MultiplexedChannelPool(connectionPool, loopGroup.next(), 2, Collections.emptyList());
102-
103-
h2Pool.close();
104-
105-
assertThat(h2Pool.release(Mockito.mock(Channel.class)).await().isSuccess()).isFalse();
106-
}
10796
}

0 commit comments

Comments
 (0)