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/13 20:07:33 UTC

[lucene-solr] branch reference_impl updated: #117 - Flakey test.

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 4370a81  #117 - Flakey test.
4370a81 is described below

commit 4370a81846d375e922e0dab1327827fd980dfb3f
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Jul 13 15:07:17 2020 -0500

    #117 - Flakey test.
---
 .../test/org/apache/solr/search/facet/TestCloudJSONFacetSKG.java   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKG.java b/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKG.java
index 9d411d9..1391095 100644
--- a/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKG.java
+++ b/solr/core/src/test/org/apache/solr/search/facet/TestCloudJSONFacetSKG.java
@@ -307,7 +307,8 @@ public class TestCloudJSONFacetSKG extends SolrCloudTestCase {
       }
     }
   }
-  
+
+  @Ignore // nocommit flakey
   public void testRandom() throws Exception {
 
     // since the "cost" of verifying the stats for each bucket is so high (see TODO in verifySKGResults())
@@ -317,10 +318,10 @@ public class TestCloudJSONFacetSKG extends SolrCloudTestCase {
     // we get a really big one early on, we can test as much as possible, skip other iterations.
     //
     // (deeply nested facets may contain more buckets then the max, but we won't *check* all of them)
-    final int maxBucketsAllowed = atLeast(TEST_NIGHTLY ? 2000 : 100);
+    final int maxBucketsAllowed = atLeast(TEST_NIGHTLY ? 2000 : 200);
     final AtomicInteger maxBucketsToCheck = new AtomicInteger(maxBucketsAllowed);
     
-    final int numIters = atLeast(TEST_NIGHTLY ? 9 : 2) + 1;
+    final int numIters = atLeast(TEST_NIGHTLY ? 9 : 4) + 1;
     for (int iter = 0; iter < numIters && 0 < maxBucketsToCheck.get(); iter++) {
       assertFacetSKGsAreCorrect(maxBucketsToCheck, TermFacet.buildRandomFacets(),
                                 buildRandomQuery(), buildRandomQuery(), buildRandomQuery());