SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins

This commit is contained in:
Shalin Shekhar Mangar 2017-07-16 09:07:16 +05:30
parent c9cf57fc28
commit bab1731b23
2 changed files with 4 additions and 0 deletions

View File

@ -510,6 +510,8 @@ Other Changes
* SOLR-11068: MOVEREPLICA and REPLACENODE API parameter names are now 'sourceNode' and 'targetNode'. The old names
viz. 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated. (shalin)
* SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins (shalin)
================== 6.7.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -189,6 +189,8 @@ public class MetricsHandlerTest extends SolrTestCaseJ4 {
@Test
public void testPropertyFilter() throws Exception {
assertQ(req("*:*"), "//result[@numFound='0']");
MetricsHandler handler = new MetricsHandler(h.getCoreContainer());
SolrQueryResponse resp = new SolrQueryResponse();