test: make sure we don't flush during indexing the percolator queries
This commit is contained in:
parent
798e4281fa
commit
60793a848e
|
@ -125,6 +125,8 @@ public class PercolatorQueryCacheTests extends ESTestCase {
|
|||
IndexWriter indexWriter = new IndexWriter(
|
||||
directory,
|
||||
newIndexWriterConfig(new MockAnalyzer(random()))
|
||||
.setMergePolicy(NoMergePolicy.INSTANCE)
|
||||
.setMaxBufferedDocs(16)
|
||||
);
|
||||
|
||||
boolean legacyFormat = randomBoolean();
|
||||
|
|
Loading…
Reference in New Issue