[ https://issues.apache.org/jira/browse/LUCENE-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224649#comment-15224649 ]
Michael McCandless commented on LUCENE-7172: -------------------------------------------- Looks like a silly test bug ... [~rcmuir] has removed the odd max radius limitation for 6.1. > TestGeoPointQuery.testEquals() failure > -------------------------------------- > > Key: LUCENE-7172 > URL: https://issues.apache.org/jira/browse/LUCENE-7172 > Project: Lucene - Core > Issue Type: Bug > Components: modules/spatial > Affects Versions: 6.0 > Reporter: Steve Rowe > > My Jenkins found a reproducing seed on branch_6_0 (reproduces for me at > commit 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 ): > {noformat} > Checking out Revision 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 > (refs/remotes/origin/branch_6_0) > [...] > [junit4] Suite: org.apache.lucene.spatial.geopoint.search.TestGeoPointQuery > [junit4] 2> NOTE: download the large Jenkins line-docs file by running > 'ant get-jenkins-line-docs' in the lucene directory. > [junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestGeoPointQuery > -Dtests.method=testEquals -Dtests.seed=D800ACFE15AF78C3 -Dtests.slow=true > -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt > -Dtests.locale=fr -Dtests.timezone=Antarctica/McMurdo -Dtests.asserts=true > -Dtests.file.encoding=UTF-8 > [junit4] ERROR 0.04s J0 | TestGeoPointQuery.testEquals <<< > [junit4] > Throwable #1: java.lang.IllegalArgumentException: > radiusMeters 10000.0 exceeds maxRadius [7173.540691622848] at location > [89.96774344373529 30.77343747893633] > [junit4] > at > __randomizedtesting.SeedInfo.seed([D800ACFE15AF78C3:DC6FFF65DB9628C1]:0) > [junit4] > at > org.apache.lucene.spatial.geopoint.search.GeoPointDistanceQuery.<init>(GeoPointDistanceQuery.java:78) > [junit4] > at > org.apache.lucene.spatial.geopoint.search.GeoPointDistanceQuery.<init>(GeoPointDistanceQuery.java:66) > [junit4] > at > org.apache.lucene.spatial.geopoint.search.TestGeoPointQuery.newDistanceQuery(TestGeoPointQuery.java:77) > [junit4] > at > org.apache.lucene.spatial.util.BaseGeoPointTestCase.testEquals(BaseGeoPointTestCase.java:863) > [junit4] > at java.lang.Thread.run(Thread.java:745) > [junit4] IGNOR/A 0.00s J0 | TestGeoPointQuery.testRandomBig > [junit4] > Assumption #1: 'nightly' test group is disabled (@Nightly()) > [junit4] 2> NOTE: test params are: codec=CheapBastard, > sim=ClassicSimilarity, locale=fr, timezone=Antarctica/McMurdo > [junit4] 2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation > 1.8.0_45 (64-bit)/cpus=16,threads=1,free=488354960,total=522190848 > [junit4] 2> NOTE: All tests run in this JVM: [TestGeoPointQuery] > [junit4] Completed [2/2 (1!)] on J0 in 5.19s, 28 tests, 1 error, 1 skipped > <<< FAILURES! > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org