Skip to content

Commit

Permalink
Remove unnecessary test
Browse files Browse the repository at this point in the history
Tests behavior that is not being enforced. Forgot to remove from #950
  • Loading branch information
dagnir committed Dec 14, 2018
1 parent 1164b4f commit 873cde7
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 873cde7

Please sign in to comment.