mirror of https://github.com/apache/lucene.git
TestCompressingStoredFieldsFormat.testDeletePartiallyWrittenFilesIfAbort: disable CFS in order to be able to check file names.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421003 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f31359f5b4
commit
26244a9f5b
|
@ -366,6 +366,11 @@ public class TestCompressingStoredFieldsFormat extends LuceneTestCase {
|
|||
|
||||
@Test(expected=IllegalArgumentException.class)
|
||||
public void testDeletePartiallyWrittenFilesIfAbort() throws IOException {
|
||||
// disable CFS because this test checks file names
|
||||
iwConf.setMergePolicy(newLogMergePolicy(false));
|
||||
iw.close();
|
||||
iw = new RandomIndexWriter(random(), dir, iwConf);
|
||||
|
||||
final Document validDoc = new Document();
|
||||
validDoc.add(new IntField("id", 0, Store.YES));
|
||||
iw.addDocument(validDoc);
|
||||
|
|
Loading…
Reference in New Issue