You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2017/07/18 05:14:13 UTC
[21/33] lucene-solr:feature/autoscaling: SOLR-11088: Fix sporadic
failures of MetricsHandlerTest.testPropertyFilter on jenkins
SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/bab1731b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/bab1731b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/bab1731b
Branch: refs/heads/feature/autoscaling
Commit: bab1731b23feb1a85c4258d26913e668d6c18397
Parents: c9cf57f
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Sun Jul 16 09:07:16 2017 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Sun Jul 16 09:07:16 2017 +0530
----------------------------------------------------------------------
solr/CHANGES.txt | 2 ++
.../src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java | 2 ++
2 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bab1731b/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d615d3e..e2c77b7 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -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.
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/bab1731b/solr/core/src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java b/solr/core/src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java
index 402cc25..d7ead6b 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/MetricsHandlerTest.java
@@ -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();