lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [36/50] lucene-solr:jira/solr-12181: LUCENE-8226: Don't generate unnecessarily massive indexes for index vs query sorting test
Date Tue, 10 Apr 2018 14:12:15 GMT
LUCENE-8226: Don't generate unnecessarily massive indexes for index vs query sorting test


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/005da875
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/005da875
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/005da875

Branch: refs/heads/jira/solr-12181
Commit: 005da875211bc271257c1fb008a8355a3c1e9f3c
Parents: 0f53adb
Author: Alan Woodward <romseygeek@apache.org>
Authored: Sat Apr 7 18:29:14 2018 +0100
Committer: Alan Woodward <romseygeek@apache.org>
Committed: Sat Apr 7 18:29:14 2018 +0100

----------------------------------------------------------------------
 .../src/test/org/apache/lucene/index/TestIndexSorting.java    | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/005da875/lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java
index 6b43c16..3679d20 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexSorting.java
@@ -2222,12 +2222,7 @@ public class TestIndexSorting extends LuceneTestCase {
 
   // pits index time sorting against query time sorting
   public void testRandom3() throws Exception {
-    int numDocs;
-    if (TEST_NIGHTLY) {
-      numDocs = atLeast(100000);
-    } else {
-      numDocs = atLeast(1000);
-    }
+    int numDocs = atLeast(1000);
     List<RandomDoc> docs = new ArrayList<>();
 
     Sort sort = randomSort();


Mime
View raw message