lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject lucene-solr:master: SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure
Date Thu, 12 Jan 2017 15:19:55 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 6c6c07743 -> dee7709dd


SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/dee7709d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/dee7709d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/dee7709d

Branch: refs/heads/master
Commit: dee7709dd86c64529ee0455d05805ab41b34c736
Parents: 6c6c077
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Thu Jan 12 20:49:38 2017 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
Committed: Thu Jan 12 20:49:38 2017 +0530

----------------------------------------------------------------------
 .../org/apache/solr/client/solrj/impl/CloudSolrClientTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/dee7709d/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
index cbaaa1b..1698075 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
@@ -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());
           }


Mime
View raw message