Apache Lucene open-source search software
LUCENE-6547: side-step OOME
Michael McCandlessb7c1b093ddd8
diff --git a/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java b/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.javaindex 728d349a119..44211586c54 100644--- a/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java+++ b/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java@@ -217,8 +217,8 @@ public class TestGeoPointQuery extends LuceneTestCase {@Testpublic 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