mirror of https://github.com/apache/lucene.git
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:
parent
ba46eb7be4
commit
196f4530a2
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue