mirror of https://github.com/apache/lucene.git
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:
parent
01542923b0
commit
31e3f8fd89
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue