mirror of https://github.com/apache/lucene.git
cut test over to newFSDirectory to hopefully stop OOMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ceb3c6889a
commit
62312f08e8
|
@ -869,7 +869,7 @@ public class TestPostingsFormat extends LuceneTestCase {
|
|||
}
|
||||
|
||||
public void test() throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
Directory dir = newFSDirectory(_TestUtil.getTempDir("testPostingsFormat"));
|
||||
|
||||
boolean indexPayloads = random().nextBoolean();
|
||||
// TODO test thread safety of buildIndex too
|
||||
|
|
Loading…
Reference in New Issue