don't use RIW in this test, its sensitive to random craziness

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2014-05-08 20:28:59 +00:00
parent e1275cd041
commit 564c221c95
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ public class TestTieredMergePolicy extends BaseMergePolicyTestCase {
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++) {