lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1593408 - in /lucene/dev/branches/lucene_solr_4_8: ./ lucene/ lucene/core/ lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java
Date Thu, 08 May 2014 20:30:03 GMT
Author: rmuir
Date: Thu May  8 20:30:03 2014
New Revision: 1593408

URL: http://svn.apache.org/r1593408
Log:
don't use RIW in this test, its sensitive to random craziness

Modified:
    lucene/dev/branches/lucene_solr_4_8/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/lucene/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/lucene/core/   (props changed)
    lucene/dev/branches/lucene_solr_4_8/lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java

Modified: lucene/dev/branches/lucene_solr_4_8/lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_8/lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java?rev=1593408&r1=1593407&r2=1593408&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_8/lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java
(original)
+++ lucene/dev/branches/lucene_solr_4_8/lucene/core/src/test/org/apache/lucene/index/TestTieredMergePolicy.java
Thu May  8 20:30:03 2014
@@ -117,8 +117,7 @@ public class TestTieredMergePolicy exten
     tmp.setForceMergeDeletesPctAllowed(0.0);
     conf.setMergePolicy(tmp);
 
-    final RandomIndexWriter w = new RandomIndexWriter(random(), dir, conf);
-    w.setDoRandomForceMerge(false);
+    final IndexWriter w = new IndexWriter(dir, conf);
 
     final int numDocs = atLeast(200);
     for(int i=0;i<numDocs;i++) {



Mime
View raw message