Skip to content

Commit

Permalink
Fixes #5931 - SslConnection should implement getBytesIn()/getBytesOut().
Browse files Browse the repository at this point in the history
Fixed CountDownLatch count again.

Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed May 30, 2021
1 parent e841775 commit 366bfcf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,9 @@ public void testForcedNonDomainSNI() throws Exception
@Test
public void testBytesInBytesOut() throws Exception
{
CountDownLatch latch = new CountDownLatch(2);
// Two connections will be closed: SslConnection and HttpConnection.
// Two on the server, two on the client.
CountDownLatch latch = new CountDownLatch(4);
SslContextFactory serverTLSFactory = createServerSslContextFactory();
startServer(serverTLSFactory, new EmptyServerHandler());
ConnectionStatistics serverStats = new ConnectionStatistics()
Expand Down

0 comments on commit 366bfcf

Please sign in to comment.