lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject [1/2] lucene-solr git commit: use more than one thread for this test
Date Tue, 23 Feb 2016 22:39:46 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 099e03113 -> 01afea60d


use more than one thread for this 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/e4a19626
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e4a19626
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e4a19626

Branch: refs/heads/master
Commit: e4a196265b1c5de9df1a9a5d3f5d653acb475302
Parents: a77d67a
Author: Mike McCandless <mikemccand@apache.org>
Authored: Tue Feb 23 17:39:08 2016 -0500
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Tue Feb 23 17:39:08 2016 -0500

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/search/TestPointQueries.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e4a19626/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
index cfab5fb..b6c39a0 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
@@ -515,8 +515,7 @@ public class TestPointQueries extends LuceneTestCase {
 
     IndexSearcher s = newSearcher(r);
 
-    // int numThreads = TestUtil.nextInt(random(), 2, 5);
-    int numThreads = 1;
+    int numThreads = TestUtil.nextInt(random(), 2, 5);
 
     if (VERBOSE) {
       System.out.println("TEST: use " + numThreads + " query threads; searcher=" + s);


Mime
View raw message