You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/07/20 02:47:10 UTC
lucene-solr:branch_7x: SOLR-11088: Fix sporadic failures of
MetricsHandlerTest.testPropertyFilter on jenkins
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x adbe74b61 -> 43570e55d
SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins
(cherry picked from commit bab1731)
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/43570e55
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/43570e55
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/43570e55
Branch: refs/heads/branch_7x
Commit: 43570e55dd1f29f84826ee19675f3e05ab0dbf34
Parents: adbe74b
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Sun Jul 16 09:07:16 2017 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Thu Jul 20 08:16:49 2017 +0530
----------------------------------------------------------------------
solr/CHANGES.txt | 6 ++++--
.../test/org/apache/solr/handler/admin/MetricsHandlerTest.java | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/43570e55/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index c93ef0e..f76931b 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -343,7 +343,7 @@ Bug Fixes
* SOLR-11073: Fix overflow in interval faceting when querying Long limits (e.g. (Long.MAX_VALUE TO Long.MAX_VALUE])
(Tomás Fernández Löbbe)
-* SOLR-11057: Fix overflow in point range queries when querying the type limits
+* SOLR-11057: Fix overflow in point range queries when querying the type limits
(e.g. q=field_i:{Integer.MAX_VALUE TO Integer.MAX_VALUE]) (Tomás Fernández Löbbe)
Optimizations
@@ -473,7 +473,7 @@ Other Changes
* SOLR-10807: Randomize Points based numeric field types in all existing tests & test schemas
where Trie numerics were previously hardcoded. (hossman, Steve Rowe, Anshum Gupta)
-
+
* SOLR-6807: Changed requestDispatcher's handleSelect to default to false, thus ignoring "qt".
Simplified configs to not refer to handleSelect or "qt". Switch all tests that assumed true to assume false
(added leading '/' in request handlers). Switch all tests referring to "standard" request handler to
@@ -503,6 +503,8 @@ Other Changes
* SOLR-11119: Switch from Trie to Points field types in the .system collection schema. (Steve Rowe)
+* 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/43570e55/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();