mirror of https://github.com/apache/lucene.git
TestGeoPointQuery: don't use costly codecs for this costly testRandomBig test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687721 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0d1ca8ffa0
commit
565319ec76
|
@ -257,6 +257,7 @@ public class TestGeoPointQuery extends LuceneTestCase {
|
||||||
Directory dir;
|
Directory dir;
|
||||||
if (lats.length > 100000) {
|
if (lats.length > 100000) {
|
||||||
dir = newFSDirectory(createTempDir("TestGeoPointQuery"));
|
dir = newFSDirectory(createTempDir("TestGeoPointQuery"));
|
||||||
|
iwc.setCodec(TestUtil.getDefaultCodec());
|
||||||
} else {
|
} else {
|
||||||
dir = newDirectory();
|
dir = newDirectory();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue