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:
Robert Muir 2012-07-26 14:18:07 +00:00
parent ceb3c6889a
commit 62312f08e8
1 changed files with 1 additions and 1 deletions

View File

@ -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