lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ans...@apache.org
Subject svn commit: r1640416 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java
Date Tue, 18 Nov 2014 20:12:36 GMT
Author: anshum
Date: Tue Nov 18 20:12:36 2014
New Revision: 1640416

URL: http://svn.apache.org/r1640416
Log:
SOLR-6755: Fix the test to always return 2 parsedqueries i.e. have more 2 shards

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java?rev=1640416&r1=1640415&r2=1640416&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java
(original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/search/mlt/CloudMLTQParserTest.java
Tue Nov 18 20:12:36 2014
@@ -30,6 +30,10 @@ import java.util.HashSet;
 
 public class CloudMLTQParserTest extends AbstractFullDistribZkTestBase {
   public CloudMLTQParserTest() {
+    fixShardCount = true;
+    shardCount = 2;
+    sliceCount = 2;
+    
     configString = "solrconfig.xml";
     schemaString = "schema.xml";
   }



Mime
View raw message