ctubbsii commented on a change in pull request #1552: Fix and simplify
TransportCachingIT
URL: https://github.com/apache/accumulo/pull/1552#discussion_r389193971
##########
File path: test/src/main/java/org/apache/accumulo/test/TransportCachingIT.java
##########
@@ -158,7 +124,7 @@ public void testCachedTransport() throws
InterruptedException {
while (fifth == null) {
try {
// Get a cached transport
- fifth = pool.getAnyTransport(servers, true).getSecond();
+ fifth = pool.getAnyTransport(servers.subList(0, 1),
true).getSecond();
Review comment:
I'm not really sure. I was confused by what the test was trying to do, and
the possible outcomes it was trying to account for with the loop, since none of
that is documented :smiley_cat:
I will defer to you.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services