diff --git a/server/src/test/java/org/elasticsearch/lucene/spatial/CentroidCalculatorTests.java b/server/src/test/java/org/elasticsearch/lucene/spatial/CentroidCalculatorTests.java index 3fdea8332dc33..311e70b9532d1 100644 --- a/server/src/test/java/org/elasticsearch/lucene/spatial/CentroidCalculatorTests.java +++ b/server/src/test/java/org/elasticsearch/lucene/spatial/CentroidCalculatorTests.java @@ -319,7 +319,6 @@ public void testGeometryCollection() { assertThat(calculator, matchesCentroid(addFromCalculator)); } - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/106126") public void testAddDifferentDimensionalType() { Point point = randomPoint(); Line line = randomLine(); @@ -428,7 +427,7 @@ private Matcher matchDouble(double value) { // Most data (notably geo data) has values within bounds, and an absolute delta makes more sense. double delta = (value > 1e28 || value < -1e28) ? Math.abs(value / 1e6) : (value > 1e20 || value < -1e20) ? Math.abs(value / 1e10) - : (value > 1e10 || value < -1e10) ? Math.abs(value / 1e15) + : (value > 1e9 || value < -1e9) ? Math.abs(value / 1e15) : DELTA; return closeTo(value, delta); }