Skip to content

Apache Lucene open-source search software

LUCENE-8247: Increase the circle precision for test Geo3dShapeWGS84ModelRectRelationTest

Ignacio Verad45211d53448
diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
index 5a7b4b52f48..94fdde9db84 100644
--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java
@@ -39,7 +39,7 @@ public class Geo3dShapeWGS84ModelRectRelationTest extends ShapeRectRelationTestC
factory.planetModel = planetModel;
this.ctx = factory.newSpatialContext();
this.maxRadius = 178;
- ((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-6);
+ ((Geo3dShapeFactory)ctx.getShapeFactory()).setCircleAccuracy(1e-12);
}
@Test