Răsfoiți Sursa

Update error message after lucene upgrade (#84228)

Ignacio Vera 3 ani în urmă
părinte
comite
e5ed7da7fb

+ 1 - 5
server/src/test/java/org/elasticsearch/common/geo/GeometryIndexerTests.java

@@ -223,14 +223,10 @@ public class GeometryIndexerTests extends ESTestCase {
         assertTrue(geometry instanceof MultiPolygon);
     }
 
-    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/84212")
     public void testPolygonAllCollinearPoints() {
         Polygon polygon = new Polygon(new LinearRing(new double[] { 0, 1, -1, 0 }, new double[] { 0, 1, -1, 0 }));
         IllegalArgumentException e = expectThrows(IllegalArgumentException.class, () -> indexer.indexShape(polygon));
-        assertEquals(
-            "Unable to Tessellate shape [[1.0, 1.0] [-1.0, -1.0] [0.0, 0.0] [1.0, 1.0] ]. Possible malformed shape detected.",
-            e.getMessage()
-        );
+        assertEquals("Unable to Tessellate shape. Possible malformed shape detected.", e.getMessage());
     }
 
     private XContentBuilder polygon(Boolean orientation, double... val) throws IOException {