Skip to content

Commit

Permalink
#10226 handle review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban committed Sep 11, 2023
1 parent ba4450f commit 2f6a204
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,10 @@ public void setUp() throws Exception
@AfterEach
public void tearDown() throws Exception
{
try
{
Set<ArrayByteBufferPool.Tracking.Buffer> serverLeaks = bufferPool.getLeaks();
assertEquals(0, serverLeaks.size(), bufferPool.dumpLeaks());
}
finally
{
server.stop();
stacklessChannelLogging.close();
}
Set<ArrayByteBufferPool.Tracking.Buffer> serverLeaks = bufferPool.getLeaks();
server.stop();
stacklessChannelLogging.close();
assertEquals(0, serverLeaks.size(), bufferPool.dumpLeaks());
}

protected HttpTester.Response executeRequest(HttpVersion httpVersion) throws URISyntaxException, IOException
Expand Down

0 comments on commit 2f6a204

Please sign in to comment.