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 00:13:49 UTC

[lucene-solr] branch reference_impl updated: #106 Knock this test down.

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 926a8de  #106 Knock this test down.
926a8de is described below

commit 926a8de392ed8a637a71af41963020ae2ca6dc27
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Jul 12 19:13:35 2020 -0500

    #106 Knock this test down.
---
 .../src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java b/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
index 500a896..3c0448e 100644
--- a/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
+++ b/solr/core/src/test/org/apache/solr/search/stats/TestDefaultStatsCache.java
@@ -29,6 +29,7 @@ public class TestDefaultStatsCache extends BaseDistributedSearchTestCase {
   
   @Override
   public void distribSetUp() throws Exception {
+    if (!TEST_NIGHTLY) fixShardCount(2);
     super.distribSetUp();
     System.setProperty("solr.statsCache", LocalStatsCache.class.getName());
   }