From b7c1b093ddd8584842844c0dedf97e048b0f6286 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 18 Jul 2015 08:21:30 +0000 Subject: [PATCH] LUCENE-6547: side-step OOME git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691701 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/search/TestGeoPointQuery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java b/lucene/sandbox/src/test/org/apache/lucene/search/TestGeoPointQuery.java index 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 { @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