You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/30 07:38:50 UTC
[lucene-solr] 02/16: @452 Tone down non Nightly run.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 9cc580f11c22bb45f64138f60ddd191222f6f869
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 29 10:26:32 2020 -0500
@452 Tone down non Nightly run.
---
.../src/test/org/apache/solr/search/facet/TestJsonRangeFacets.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/search/facet/TestJsonRangeFacets.java b/solr/core/src/test/org/apache/solr/search/facet/TestJsonRangeFacets.java
index 6c8364c..feb0610 100644
--- a/solr/core/src/test/org/apache/solr/search/facet/TestJsonRangeFacets.java
+++ b/solr/core/src/test/org/apache/solr/search/facet/TestJsonRangeFacets.java
@@ -48,7 +48,7 @@ public class TestJsonRangeFacets extends SolrTestCaseHS {
*/
public static void initServers() throws Exception {
if (servers == null) {
- servers = new SolrInstances(3, "solrconfig-tlog.xml", "schema_latest.xml");
+ servers = new SolrInstances(TEST_NIGHTLY ? 3 : 2, "solrconfig-tlog.xml", "schema_latest.xml");
}
}
@@ -72,13 +72,11 @@ public class TestJsonRangeFacets extends SolrTestCaseHS {
"num_is", "-9", "num_is", "-5",
"val_b", "false"), null);
client.add(sdoc("id", "3"), null);
- client.commit();
client.add(sdoc("id", "4", "cat_s", "A", "where_s", "NJ", "num_d", "2", "num_i", "3",
"num_is", "2", "num_is", "3"), null);
client.add(sdoc("id", "5", "cat_s", "B", "where_s", "NJ", "num_d", "11", "num_i", "7",
"num_is", "11", "num_is", "7",
"sparse_s", "two"),null);
- client.commit();
client.add(sdoc("id", "6", "cat_s", "B", "where_s", "NY", "num_d", "-5", "num_i", "-5",
"num_is", "-5"),null);
client.commit();