SOLR-3774: Fix test.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-11-20 15:25:42 +00:00
parent 01542923b0
commit 31e3f8fd89
1 changed files with 2 additions and 2 deletions

View File

@ -327,13 +327,13 @@ public class CloudSolrServerTest extends AbstractFullDistribZkTestBase {
ModifiableSolrParams params = new ModifiableSolrParams();
params.set("qt", "/admin/mbeans");
params.set("stats", "true");
params.set("key", "org.apache.solr.handler.StandardRequestHandler");
params.set("key", "standard");
params.set("cat", "QUERYHANDLER");
// use generic request to avoid extra processing of queries
QueryRequest req = new QueryRequest(params);
NamedList<Object> resp = server.request(req);
return (Long) resp.findRecursive("solr-mbeans", "QUERYHANDLER",
"org.apache.solr.handler.StandardRequestHandler", "stats", "requests");
"standard", "stats", "requests");
}
@Override