Apache Lucene open-source search software
LUCENE-6822: Spatial Geo3d: Lower test threshold to satisfy Within predicate.
David Wayne Smiley3d5a4af5860f
diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.javaindex 42bc2e2a5f2..e0e7bcef35b 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java@@ -103,8 +103,9 @@ public abstract class Geo3dShapeRectRelationTestCase extends RandomizedShapeTestreturn 20;}+ // producing "within" cases in Geo3D based on our random shapes doesn't happen often. It'd be nice to increase this.protected int getWithinMinimum(int laps) {- return 20;+ return 2;}protected int getDisjointMinimum(int laps) {