Skip to content

Commit

Permalink
Fixing flaky test GeoPointShapeQueryTests.testQueryLinearRing (opense…
Browse files Browse the repository at this point in the history
…arch-project#12783)

Signed-off-by: Shweta Thareja <[email protected]>
Co-authored-by: Shweta Thareja <[email protected]>
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
2 people authored and shiv0408 committed Apr 25, 2024
1 parent 2832668 commit 97bb286
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ public void testQueryLinearRing() throws Exception {
e.getCause().getMessage(),
containsString("Field [" + defaultGeoFieldName + "] does not support LINEARRING queries")
);
} catch (UnsupportedOperationException e) {
assertThat(e.getMessage(), containsString("line ring cannot be serialized using GeoJson"));
}
}

Expand Down

0 comments on commit 97bb286

Please sign in to comment.