mirror of https://github.com/apache/lucene.git
TestCompressingStoredFieldsFormat.testBigDocuments: use a FS dir.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405045 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
52c7cf5870
commit
2dc54f0cef
|
@ -295,7 +295,13 @@ public class TestCompressingStoredFieldsFormat extends LuceneTestCase {
|
|||
|
||||
@Nightly
|
||||
public void testBigDocuments() throws IOException {
|
||||
// much bigger than the chunk size
|
||||
// "big" as "much bigger than the chunk size"
|
||||
// for this test we force a FS dir
|
||||
iw.close();
|
||||
dir.close();
|
||||
dir = newFSDirectory(_TestUtil.getTempDir(getClass().getSimpleName()));
|
||||
iw = new RandomIndexWriter(random(), dir, iwConf);
|
||||
|
||||
if (dir instanceof MockDirectoryWrapper) {
|
||||
((MockDirectoryWrapper) dir).setThrottling(Throttling.NEVER);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue