[ 
https://issues.apache.org/jira/browse/LUCENE-8107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16303801#comment-16303801
 ] 

Karl Wright commented on LUCENE-8107:
-------------------------------------

This test looks like it's trying to look for non-convergence of the Vicenti 
formula for ellipsoids with flattening > 0.4.  We already know that doesn't 
work.  I'm not precisely sure how this test was committed but we don't want to 
commit tests that are known to fail.

I can modify the test to only look at planet models with acceptable amounts of 
flattening.  Is that the right way to proceed?


> GeoExactCircleTest.RandomPointBearingCardinalTest failures
> ----------------------------------------------------------
>
>                 Key: LUCENE-8107
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8107
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Karl Wright
>
> I hit some reproducing failures over the weekend:
> {noformat}
> ant test  -Dtestcase=GeoExactCircleTest 
> -Dtests.method=RandomPointBearingCardinalTest -Dtests.seed=30B96A8700F32D8F 
> -Dtests.slow=true -Dtests.locale=ar-SD -Dtests.timezone=Turkey 
> -Dtests.asserts=true -Dtests.file.encoding=UTF8
> [junit4] FAILURE 0.01s J0 | GeoExactCircleTest.RandomPointBearingCardinalTest 
> {seed=[30B96A8700F32D8F:475E54A204015A1C]} <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: 
> PlanetModel(ab=1.7929995623606008 c=1.17777596251282) 0.022823921875714692 
> 2.6270976802297388
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([30B96A8700F32D8F:475E54A204015A1C]:0)
>    [junit4]    >      at 
> org.apache.lucene.spatial3d.geom.GeoExactCircleTest.checkBearingPoint(GeoExactCircleTest.java:117)
>    [junit4]    >      at 
> org.apache.lucene.spatial3d.geom.GeoExactCircleTest.RandomPointBearingCardinalTest(GeoExactCircleTest.java:109)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:748)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {}, 
> docValues:{}, maxPointsInLeafNode=478, maxMBSortInHeap=5.961909961194244, 
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@179f38fb),
>  locale=ar-SD, timezone=Turkey
>    [junit4]   2> NOTE: Linux 4.4.0-1043-aws amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=4,threads=1,free=269120312,total=319291392
>    [junit4]   2> NOTE: All tests run in this JVM: [XYZSolidTest, 
> TestGeo3DDocValues, GeoExactCircleTest]
> ant test  -Dtestcase=GeoExactCircleTest 
> -Dtests.method=RandomPointBearingCardinalTest -Dtests.seed=30B96A8700F32D8F 
> -Dtests.slow=true -Dtests.locale=ar-SD -Dtests.timezone=Turkey 
> -Dtests.asserts=true -Dtests.file.encoding=UTF8
>    [junit4] FAILURE 0.02s J2 | 
> GeoExactCircleTest.RandomPointBearingCardinalTest 
> {seed=[8C1E53DFCE9646F5:8DCCE74ADEC6D907]} <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: 
> PlanetModel(ab=1.0366200558773102 c=0.6736249299915238) 0.0011591580078804675 
> 2.649410126114567
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([8C1E53DFCE9646F5:8DCCE74ADEC6D907]:0)
>    [junit4]    >      at 
> org.apache.lucene.spatial3d.geom.GeoExactCircleTest.checkBearingPoint(GeoExactCircleTest.java:117)
>    [junit4]    >      at 
> org.apache.lucene.spatial3d.geom.GeoExactCircleTest.RandomPointBearingCardinalTest(GeoExactCircleTest.java:109)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:748)
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): {}, 
> docValues:{}, maxPointsInLeafNode=1185, maxMBSortInHeap=5.925083864677718, 
> sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@6a7f1f9),
>  locale=en-AU, timezone=CNT
>    [junit4]   2> NOTE: Linux 2.6.32-696.6.3.el6.x86_64 amd64/Oracle 
> Corporation 1.8.0_151 (64-bit)/cpus=4,threads=1,free=207196520,total=251658240
>    [junit4]   2> NOTE: All tests run in this JVM: [TestGeo3DDocValues, 
> GeoCircleTest, GeoExactCircleTest]
>    [junit4] Completed [11/16 (1!)] on J2 in 1.60s, 311 tests, 1 failure <<< 
> FAILURES!
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to