Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private void testClientReuse(int maxConnections, boolean concurrent)
}

Assert.assertEquals(0, failed.get());
Assert.assertEquals(clients.size(), maxConnections);
Assert.assertTrue(clients.size() <= maxConnections);
Copy link
Member

@dongjoon-hyun dongjoon-hyun Jul 8, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for the investigation and this PR, @gaborgsomogyi .
Could you update the PR description if we have a previous Jenkins test failure for this, please?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose there's no way to ask it to not return a cached instance?
This seems to be testing that they're all different, but, that doesn't seem to be the current behavior, nor is it necessarily desirable. So, OK.


for (TransportClient client : clients) {
client.close();
Expand Down