[ 
https://issues.apache.org/jira/browse/LUCENE-7168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-7168:
---------------------------------------
    Attachment: LUCENE-7168.patch

Another patch, just improving the failure message, and beasting uncovered a 
failure!

{noformat}
   [junit4] Suite: org.apache.lucene.spatial3d.TestGeo3DPoint
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestGeo3DPoint 
-Dtests.method=testRandomMedium -Dtests.seed=1B44C9C6ED816CF9 -Dtests.slow=true 
-Dtests.linedocsfile=/lucenedata/hudson.enwiki.random.lines.txt.fixed 
-Dtests.locale=pl-PL -Dtests.timezone=Asia/Damascus -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.68s | TestGeo3DPoint.testRandomMedium <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: FAIL: id=147 should 
have matched but did not
   [junit4]    >   shape=GeoPath: {planetmodel=PlanetModel.WGS84, 
width=0.9250245035569946(53.0), points={[[lat=-0.31202581053256323, 
lon=-2.3769151553645593], [lat=-0.04559091474230697, lon=0.3560334442429531], 
[lat=-0.6470509953978505, lon=1.0469362861181948], [lat=-0.685120355322366, 
lon=1.6043555643894918], [lat=-1.568917110871099, lon=1.008031992795193]]}}
   [junit4]    >   lat=2.3507843431772453 lon=127.59305012508766
   [junit4]    >   point=[lat=0.04102892679277523, lon=2.2269188273449423]
   [junit4]    >   docID=133 deleted?=false
   [junit4]    >   query=PointInGeo3DShapeQuery: field=point: Shape: GeoPath: 
{planetmodel=PlanetModel.WGS84, width=0.9250245035569946(53.0), 
points={[[lat=-0.31202581053256323, lon=-2.3769151553645593], 
[lat=-0.04559091474230697, lon=0.3560334442429531], [lat=-0.6470509953978505, 
lon=1.0469362861181948], [lat=-0.685120355322366, lon=1.6043555643894918], 
[lat=-1.568917110871099, lon=1.008031992795193]]}}
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([1B44C9C6ED816CF9:A69AFE6EACE40F9F]:0)
   [junit4]    >        at 
org.apache.lucene.spatial3d.TestGeo3DPoint.verify(TestGeo3DPoint.java:741)
   [junit4]    >        at 
org.apache.lucene.spatial3d.TestGeo3DPoint.doTestRandom(TestGeo3DPoint.java:529)
   [junit4]    >        at 
org.apache.lucene.spatial3d.TestGeo3DPoint.testRandomMedium(TestGeo3DPoint.java:456)
   [junit4]    >        at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): 
{id=PostingsFormat(name=Asserting)}, 
docValues:{id=DocValuesFormat(name=Lucene54)}, maxPointsInLeafNode=1169, 
maxMBSortInHeap=6.9707915551209005, sim=ClassicSimilarity, locale=pl-PL, 
timezone=Asia/Damascus
   [junit4]   2> NOTE: Linux 3.13.0-71-generic amd64/Oracle Corporation 
1.8.0_60 (64-bit)/cpus=8,threads=1,free=456488064,total=504889344
   [junit4]   2> NOTE: All tests run in this JVM: [TestGeo3DPoint]
   [junit4] Completed [1/1 (1!)] in 0.84s, 1 test, 1 failure <<< FAILURES!
{noformat}

> Remove geo3d test leniency
> --------------------------
>
>                 Key: LUCENE-7168
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7168
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>         Attachments: LUCENE-7168.patch, LUCENE-7168.patch
>
>
> Today the test hides possible failures by leniently handling quantization 
> issues.
> We should fix it to do what geo2d tests now do: pre-quantized indexed points, 
> but don't quantize query shapes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to