You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2015/05/12 06:25:01 UTC
[jira] [Resolved] (LUCENE-6475) Geo3dShapeRectRelationTest
reproducible failure
[ https://issues.apache.org/jira/browse/LUCENE-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley resolved LUCENE-6475.
----------------------------------
Resolution: Fixed
Assignee: David Smiley
I added a test too. Thanks Karl.
> Geo3dShapeRectRelationTest reproducible failure
> -----------------------------------------------
>
> Key: LUCENE-6475
> URL: https://issues.apache.org/jira/browse/LUCENE-6475
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: David Smiley
> Attachments: testFailure.patch
>
>
> This fails on trunk r1678446 for me:
> {noformat}
> ant test -Dtestcase=Geo3dShapeRectRelationTest -Dtests.method=testGeoCircleRect -Dtests.seed=8032886D7B96249D:C92AD49BDF6566D7
> {noformat}
> Strangely, the test framework fails to print the "Reproduce with" line:
> {noformat}
> [junit4:pickseed] Seed property 'tests.seed' already defined: 8032886D7B96249D:C92AD49BDF6566D7
> [junit4] <JUnit4> says hello! Master seed: 8032886D7B96249D:C92AD49BDF6566D7
> [junit4] Executing 1 suite with 1 JVM.
> [junit4]
> [junit4] Started J0 PID(10530@localhost).
> [junit4] Suite: org.apache.lucene.spatial.spatial4j.Geo3dShapeRectRelationTest
> [junit4] 1> S-R Rel: {}, Shape {}, Rectangle {} [CONTAINS, Geo3dShape{GeoCircle: {center=[X=0.33939366238712926, Y=-0.9406444290609368, Z=2.8417543640235586E-6], radius=1.5009831567151235(86.00000000000001)}}, Rect(minX=-118.0,maxX=-114.0,minY=-2.0,maxY=32.0)](no slf4j subst; sorry)
> [junit4] FAILURE 0.37s | Geo3dShapeRectRelationTest.testGeoCircleRect <<<
> [junit4] > Throwable #1: java.lang.AssertionError: if not disjoint then the shape's bbox shouldn't be disjoint
> [junit4] > at __randomizedtesting.SeedInfo.seed([8032886D7B96249D:C92AD49BDF6566D7]:0)
> [junit4] > at org.apache.lucene.spatial.spatial4j.RectIntersectionTestHelper.testRelateWithRectangle(RectIntersectionTestHelper.java:117)
> [junit4] > at org.apache.lucene.spatial.spatial4j.Geo3dShapeRectRelationTest.testGeoCircleRect(Geo3dShapeRectRelationTest.java:132)
> [junit4] Completed [1/1] in 0.41s, 1 test, 1 failure <<< FAILURES!
> [junit4]
> [junit4]
> [junit4] Tests with failures:
> [junit4] - org.apache.lucene.spatial.spatial4j.Geo3dShapeRectRelationTest.testGeoCircleRect
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org