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/27 15:26:38 UTC

[lucene-solr] branch reference_impl updated: @384 Tone down and harden.

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


The following commit(s) were added to refs/heads/reference_impl by this push:
     new d7cc54c  @384 Tone down and harden.
d7cc54c is described below

commit d7cc54c23bc290fcf66792a9b95daceee416cf34
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Jul 27 10:26:18 2020 -0500

    @384 Tone down and harden.
---
 solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java    | 2 +-
 .../test/org/apache/solr/search/facet/TestCloudJSONFacetSKGEquiv.java | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java b/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java
index dfb952b..8e51068 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestRandomFlRTGCloud.java
@@ -207,7 +207,7 @@ public class TestRandomFlRTGCloud extends SolrCloudTestCase {
   
   public void testRandomizedUpdatesAndRTGs() throws Exception {
 
-    final int maxNumDocs = atLeast( 100);
+    final int maxNumDocs = atLeast( TEST_NIGHTLY ? 100 : 35);
     final int numSeedDocs = random().nextInt(maxNumDocs / 10); // at most ~10% of the max possible docs
     final int numIters = atLeast(maxNumDocs * (TEST_NIGHTLY ? 10 : 2));
     final SolrInputDocument[] knownDocs = new SolrInputDocument[maxNumDocs];
diff --git a/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKGEquiv.java b/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKGEquiv.java
index 55bd9dd..b06b898 100644
--- a/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKGEquiv.java
+++ b/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKGEquiv.java
@@ -88,7 +88,7 @@ public class TestCloudJSONFacetSKGEquiv extends SolrCloudTestCase {
 
   private static final int DEFAULT_LIMIT = FacetField.DEFAULT_FACET_LIMIT;
   private static final int MAX_FIELD_NUM = 15;
-  private static final int UNIQUE_FIELD_VALS = TEST_NIGHTLY ? 50 : 5;
+  private static final int UNIQUE_FIELD_VALS = TEST_NIGHTLY ? 50 : 10;
 
   /** Multi-Valued string field suffixes that can be randomized for testing diff facet code paths */
   private static final String[] MULTI_STR_FIELD_SUFFIXES = new String[]
@@ -467,7 +467,7 @@ public class TestCloudJSONFacetSKGEquiv extends SolrCloudTestCase {
   
   public void testRandom() throws Exception {
 
-    final int numIters = atLeast(10);
+    final int numIters = atLeast(TEST_NIGHTLY ? 10 : 3);
     for (int iter = 0; iter < numIters; iter++) {
       assertFacetSKGsAreConsistent(TermFacet.buildRandomFacets(),
                                    buildRandomQuery(), buildRandomQuery(), buildRandomQuery());