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-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins
Date Sun, 16 Jul 2017 03:37:31 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master c9cf57fc2 -> bab1731b2


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/master
Commit: bab1731b23feb1a85c4258d26913e668d6c18397
Parents: c9cf57f
Author: Shalin Shekhar Mangar <shalin@apache.org>
Authored: Sun Jul 16 09:07:16 2017 +0530
Committer: Shalin Shekhar Mangar <shalin@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();


Mime
View raw message