Permalink
Browse files

LUCENE-7345: fix test bug so jenkins isn't on fire anymore

  • Loading branch information...
rmuir committed Jun 19, 2016
1 parent 4fae418 commit 918acdfbc596a0e60bcac8dd921a7841f1c3045d
Showing with 2 additions and 0 deletions.
  1. +2 −0 lucene/core/src/test/org/apache/lucene/search/TestBoolean2.java
@@ -19,6 +19,7 @@
import java.util.Arrays;
import java.util.Collections;
import java.util.Random;
import org.apache.lucene.analysis.MockAnalyzer;
@@ -106,6 +107,7 @@ public static void beforeClass() throws Exception {
for (String fileName : directory.listAll()) {
singleSegmentDirectory.copyFrom(directory, fileName, fileName, IOContext.DEFAULT);
singleSegmentDirectory.sync(Collections.singleton(fileName));
}
IndexWriterConfig iwc = newIndexWriterConfig(new MockAnalyzer(random()));

0 comments on commit 918acdf

Please sign in to comment.