test really needs MockDirectoryWrapper always

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364026 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-07-21 00:28:26 +00:00
parent 8b1054f30f
commit b9c088dc06
1 changed files with 1 additions and 1 deletions

View File

@ -1271,7 +1271,7 @@ public class TestIndexWriter extends LuceneTestCase {
public void testDeleteUnusedFiles() throws Exception {
for(int iter=0;iter<2;iter++) {
Directory dir = newDirectory();
Directory dir = newMockDirectory(); // relies on windows semantics
LogMergePolicy mergePolicy = newLogMergePolicy(true);
mergePolicy.setNoCFSRatio(1); // This test expects all of its segments to be in CFS