mirror of https://github.com/apache/lucene.git
LUCENE-6117: this test secretly relies on testPoint too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646288 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38faeb9227
commit
a6233f1341
|
@ -2197,6 +2197,8 @@ public class TestIndexWriterExceptions extends LuceneTestCase {
|
|||
IndexWriterConfig iwc = new IndexWriterConfig(null);
|
||||
iwc.setInfoStream(evilInfoStream);
|
||||
IndexWriter iw = new IndexWriter(dir, iwc);
|
||||
// TODO: cutover to RandomIndexWriter.mockIndexWriter?
|
||||
iw.enableTestPoints = true;
|
||||
Document doc = new Document();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
iw.addDocument(doc);
|
||||
|
|
Loading…
Reference in New Issue