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/09 21:01:55 UTC

[lucene-solr] 13/23: speed up test for non nightly

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 c3f52f44df63bfb789cd5b3241136c015f4ad938
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 8 11:51:04 2020 -0500

    speed up test for non nightly
---
 solr/core/src/test/org/apache/solr/cloud/TestHashPartitioner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/TestHashPartitioner.java b/solr/core/src/test/org/apache/solr/cloud/TestHashPartitioner.java
index 55e69fa..3bfae93 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestHashPartitioner.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestHashPartitioner.java
@@ -55,7 +55,7 @@ public class TestHashPartitioner extends SolrTestCaseJ4 {
 
     int defaultLowerBits = 0x0000ffff;
 
-    for (int i = 1; i <= 30000; i++) {
+    for (int i = 1; i <= (TEST_NIGHTLY ? 30000 : 3000); i++) {
       // start skipping at higher numbers
       if (i > 100) i+=13;
       else if (i > 1000) i+=31;