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 18:22:49 UTC

[lucene-solr] branch reference_impl_dev updated: @458 Tone down non Nightly.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new 413fe81  @458 Tone down non Nightly.
413fe81 is described below

commit 413fe811bd6b06ed875d578c8e6d6b363757cdf1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 29 13:22:36 2020 -0500

    @458 Tone down non Nightly.
---
 solr/core/src/test/org/apache/solr/TestHighlightDedupGrouping.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/TestHighlightDedupGrouping.java b/solr/core/src/test/org/apache/solr/TestHighlightDedupGrouping.java
index 9f36d8e..e9bf787 100644
--- a/solr/core/src/test/org/apache/solr/TestHighlightDedupGrouping.java
+++ b/solr/core/src/test/org/apache/solr/TestHighlightDedupGrouping.java
@@ -81,10 +81,10 @@ public class TestHighlightDedupGrouping extends BaseDistributedSearchTestCase {
     handle.put("timestamp", SKIPVAL);
     handle.put("grouped", UNORDERED);   // distrib grouping doesn't guarantee order of top level group commands
 
-    int numDocs = TestUtil.nextInt(random(), 100, TEST_NIGHTLY ? 1000 : 150);
-    int numGroups = TestUtil.nextInt(random(), 1, numDocs / 50);
+    int numDocs = TestUtil.nextInt(random(), 100, TEST_NIGHTLY ? 1000 : 125);
+    int numGroups = TestUtil.nextInt(random(), 1, (numDocs / 50) + 1);
     int[] docsInGroup = new int[numGroups + 1];
-    int percentDuplicates = TestUtil.nextInt(random(), 1, 25);
+    int percentDuplicates = TestUtil.nextInt(random(), 1, TEST_NIGHTLY ? 25 : 5);
     for (int docid = 0 ; docid < numDocs ; ++docid) {
       int group = TestUtil.nextInt(random(), 1, numGroups);
       ++docsInGroup[group];