Karl Wright created LUCENE-7201:
-----------------------------------
Summary: Test failure for geo3d bbox queries in TestGeo3DPoint
Key: LUCENE-7201
URL: https://issues.apache.org/jira/browse/LUCENE-7201
Project: Lucene - Core
Issue Type: Bug
Components: modules/spatial3d
Affects Versions: master
Reporter: Karl Wright
Assignee: Karl Wright
Here's the test failure, which looks like a garden-variety attempt to create an
illegal shape:
{code}
[junit4] Suite: org.apache.lucene.spatial3d.TestGeo3DPoint
[junit4] IGNOR/A 0.02s J0 | TestGeo3DPoint.testRandomBig
[junit4] > Assumption #1: 'nightly' test group is disabled (@Nightly())
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestGeo3DPoint -Dtes
ts.method=testRandomTiny -Dtests.seed=92AFBC246156F30B -Dtests.slow=true -Dtests
.locale=it-CH -Dtests.timezone=PRC -Dtests.asserts=true -Dtests.file.encoding=US
-ASCII
[junit4] ERROR 0.05s J0 | TestGeo3DPoint.testRandomTiny <<<
[junit4] > Throwable #1: java.lang.IllegalArgumentException: Cannot determ
ine sidedness because check point is on plane.
[junit4] > at __randomizedtesting.SeedInfo.seed([92AFBC246156F30B:D
BE862623F77CBA7]:0)
[junit4] > at org.apache.lucene.spatial3d.geom.SidedPlane.<init>(Si
dedPlane.java:95)
[junit4] > at org.apache.lucene.spatial3d.geom.GeoNorthRectangle.<i
nit>(GeoNorthRectangle.java:109)
[junit4] > at org.apache.lucene.spatial3d.geom.GeoBBoxFactory.makeG
eoBBox(GeoBBoxFactory.java:103)
[junit4] > at org.apache.lucene.spatial3d.Geo3DPoint.newBoxQuery(Ge
o3DPoint.java:125)
[junit4] > at org.apache.lucene.spatial3d.TestGeo3DPoint.random3DQu
ery(TestGeo3DPoint.java:563)
[junit4] > at org.apache.lucene.spatial3d.TestGeo3DPoint.verify(Tes
tGeo3DPoint.java:747)
[junit4] > at org.apache.lucene.spatial3d.TestGeo3DPoint.doTestRand
om(TestGeo3DPoint.java:518)
[junit4] > at org.apache.lucene.spatial3d.TestGeo3DPoint.testRandom
Tiny(TestGeo3DPoint.java:441)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: test params are: codec=FastCompressingStoredFields(stored
FieldsFormat=CompressingStoredFieldsFormat(compressionMode=FAST, chunkSize=9, ma
xDocsPerChunk=9, blockSize=931), termVectorsFormat=CompressingTermVectorsFormat(
compressionMode=FAST, chunkSize=9, blockSize=931)), sim=RandomSimilarity(queryNo
rm=true,coord=no): {}, locale=it-CH, timezone=PRC
[junit4] 2> NOTE: Windows 7 6.1 amd64/Oracle Corporation 1.8.0_45 (64-bit)/
cpus=4,threads=1,free=219878656,total=262668288
[junit4] 2> NOTE: All tests run in this JVM: [TestGeo3DPoint]
[junit4] Completed [10/10 (1!)] on J0 in 11.15s, 13 tests, 1 error, 1 skipped
<<< FAILURES!
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]