Revert "SOLR-9132: Fix request-counting logic in ConnectionReuseTest"

The logic for request-counting is different in master and 6.x, due to the
difference in HttpClient implementations.

This reverts commit a35057fff2.
This commit is contained in:
Alan Woodward 2016-05-24 08:35:16 +01:00
parent ba46eb7be4
commit 196f4530a2
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public class ConnectionReuseTest extends SolrCloudTestCase {
// we try and make sure the connection we get has handled all of the requests in this test
if (client instanceof ConcurrentUpdateSolrClient) {
// we can't fully control queue polling breaking up requests - allow a bit of leeway
int exp = queueBreaks + 3;
int exp = cnt1 + queueBreaks + 2;
assertTrue(
"We expected all communication via streaming client to use one connection! expected=" + exp + " got="
+ metrics.getRequestCount(),