mirror of https://github.com/apache/lucene.git
SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure
This commit is contained in:
parent
6c6c077435
commit
dee7709dd8
|
@ -431,7 +431,7 @@ public class CloudSolrClientTest extends SolrCloudTestCase {
|
|||
for (String adminPath : adminPathToMbean.keySet()) {
|
||||
long errorsBefore = 0;
|
||||
for (JettySolrRunner runner : cluster.getJettySolrRunners()) {
|
||||
Long numRequests = getNumRequests(runner.getBaseUrl().toString(), "foo", "QUERY", adminPathToMbean.get(adminPath), true);
|
||||
Long numRequests = getNumRequests(runner.getBaseUrl().toString(), "foo", "ADMIN", adminPathToMbean.get(adminPath), true);
|
||||
errorsBefore += numRequests;
|
||||
log.info("Found {} requests to {} on {}", numRequests, adminPath, runner.getBaseUrl());
|
||||
}
|
||||
|
@ -448,7 +448,7 @@ public class CloudSolrClientTest extends SolrCloudTestCase {
|
|||
}
|
||||
long errorsAfter = 0;
|
||||
for (JettySolrRunner runner : cluster.getJettySolrRunners()) {
|
||||
Long numRequests = getNumRequests(runner.getBaseUrl().toString(), "foo", "QUERY", adminPathToMbean.get(adminPath), true);
|
||||
Long numRequests = getNumRequests(runner.getBaseUrl().toString(), "foo", "ADMIN", adminPathToMbean.get(adminPath), true);
|
||||
errorsAfter += numRequests;
|
||||
log.info("Found {} requests to {} on {}", numRequests, adminPath, runner.getBaseUrl());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue