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

Ignacio Vera reopened LUCENE-8454:
----------------------------------

It seems the last change make random test unhappy, I reopen and set the test to 
awaitFix.

 
*07:45:12*    [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=TestLatLonPolygonShapeQueries -Dtests.method=testRandomMedium 
-Dtests.seed=A4121D2A7CB14232 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=sv-SE -Dtests.timezone=America/Rainy_River -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8*07:45:12*    [junit4] FAILURE 5.96s J3 | 
TestLatLonPolygonShapeQueries.testRandomMedium <<<*07:45:12*    [junit4]    > 
Throwable #1: java.lang.AssertionError: wrong hit (first of possibly 
more):*07:45:12*    [junit4]    > FAIL: id=1734 should not match but 
did*07:45:12*    [junit4]    >   relation=DISJOINT*07:45:12*    [junit4]    >   
query=LatLonShapeBoundingBoxQuery: field=shape:Rectangle(lat=-29.46555603761226 
TO 0.0 lon=8.381903171539307E-8 TO 0.9999999403953552) docID=1696*07:45:12*    
[junit4]    >   shape=[-1.490648725633769E-132, 0.0] [90.0, 0.0] [90.0, 180.0] 
[-1.490648725633769E-132, 0.0] *07:45:12*    [junit4]    >   deleted?=false  
rect=Rectangle(-29.46555603761226 TO 0.0 lon=8.381903171539307E-8 TO 
0.9999999403953552)*07:45:12*    [junit4]    >  at 
__randomizedtesting.SeedInfo.seed([A4121D2A7CB14232:19CC2A823DD42154]:0)*07:45:12*
    [junit4]    >  at 
org.apache.lucene.document.BaseLatLonShapeTestCase.verifyRandomBBoxQueries(BaseLatLonShapeTestCase.java:312)*07:45:12*
    [junit4]    >      at 
org.apache.lucene.document.BaseLatLonShapeTestCase.verify(BaseLatLonShapeTestCase.java:197)*07:45:12*
    [junit4]    >       at 
org.apache.lucene.document.BaseLatLonShapeTestCase.doTestRandom(BaseLatLonShapeTestCase.java:172)*07:45:12*
    [junit4]    >         at 
org.apache.lucene.document.BaseLatLonShapeTestCase.testRandomMedium(BaseLatLonShapeTestCase.java:143)*07:45:12*
    [junit4]    >     at java.lang.Thread.run(Thread.java:748)*07:45:12*    
[junit4]   2> NOTE: leaving temporary files on disk at: 
/var/lib/jenkins/workspace/apache+lucene-solr+branch_7x/lucene/build/sandbox/test/J3/temp/lucene.document.TestLatLonPolygonShapeQueries_A4121D2A7CB14232-001

> Polygon tessellator can get into an infinite loop
> -------------------------------------------------
>
>                 Key: LUCENE-8454
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8454
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/sandbox
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8454.patch
>
>
> I was trying to index some shapes using {{LatLonshape}} and for some complex 
> shapes, there teselletor goes into an infinite loop. I am providing a test 
> showing the problem.
>  
> [~nknize], you might be interested on this.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to