LUCENE-6547: side-step OOME

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-07-18 08:21:30 +00:00
parent f3c02b08a5
commit b7c1b093dd
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@ public class TestGeoPointQuery extends LuceneTestCase {
@Test
public void testGeoDistanceQuery() throws Exception {
TopDocs td = geoDistanceQuery(-96.4538113027811, 32.94823588839368, 600000, 20);
assertEquals("GeoDistanceQuery failed", 6, td.totalHits);
TopDocs td = geoDistanceQuery(-96.4538113027811, 32.94823588839368, 6000, 20);
assertEquals("GeoDistanceQuery failed", 1, td.totalHits);
}
@Test