mirror of https://github.com/apache/lucene.git
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:
parent
8b1054f30f
commit
b9c088dc06
|
@ -1271,7 +1271,7 @@ public class TestIndexWriter extends LuceneTestCase {
|
||||||
|
|
||||||
public void testDeleteUnusedFiles() throws Exception {
|
public void testDeleteUnusedFiles() throws Exception {
|
||||||
for(int iter=0;iter<2;iter++) {
|
for(int iter=0;iter<2;iter++) {
|
||||||
Directory dir = newDirectory();
|
Directory dir = newMockDirectory(); // relies on windows semantics
|
||||||
|
|
||||||
LogMergePolicy mergePolicy = newLogMergePolicy(true);
|
LogMergePolicy mergePolicy = newLogMergePolicy(true);
|
||||||
mergePolicy.setNoCFSRatio(1); // This test expects all of its segments to be in CFS
|
mergePolicy.setNoCFSRatio(1); // This test expects all of its segments to be in CFS
|
||||||
|
|
Loading…
Reference in New Issue