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/29 02:02:57 UTC
[lucene-solr] 24/27: @441 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 28c91f7d0da82cf0c95847e18179f8ac7ca0031e
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Jul 28 20:18:53 2020 -0500
@441 Tone down non Nightly run.
---
solr/core/src/test/org/apache/solr/CursorPagingTest.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/CursorPagingTest.java b/solr/core/src/test/org/apache/solr/CursorPagingTest.java
index 9161c14..566611e 100644
--- a/solr/core/src/test/org/apache/solr/CursorPagingTest.java
+++ b/solr/core/src/test/org/apache/solr/CursorPagingTest.java
@@ -64,8 +64,7 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
@BeforeClass
public static void beforeTests() throws Exception {
- // we need DVs on point fields to compute stats & facets
- if (Boolean.getBoolean(NUMERIC_POINTS_SYSPROP)) System.setProperty(NUMERIC_DOCVALUES_SYSPROP,"true");
+ // we need DVs on point fields to compute stats & facetsew
System.setProperty("solr.test.useFilterForSortedQuery", Boolean.toString(random().nextBoolean()));
initCore(TEST_SOLRCONFIG_NAME, TEST_SCHEMAXML_NAME);
}
@@ -592,10 +591,10 @@ public class CursorPagingTest extends SolrTestCaseJ4 {
}
assertU(commit());
- final int numRandomSorts = atLeast(3);
+ final int numRandomSorts = atLeast(TEST_NIGHTLY ? 3 : 1);
for (int i = 0; i < numRandomSorts; i++) {
final String sort = buildRandomSort(allFieldNames);
- final String rows = "" + TestUtil.nextInt(random(), 63, 113);
+ final String rows = "" + TestUtil.nextInt(random(), 63, TEST_NIGHTLY ? 113 : 73);
final String fl = random().nextBoolean() ? "id" : "id,score";
final boolean matchAll = random().nextBoolean();
final String q = matchAll ? "*:*" : buildRandomQuery();