Skip to content

Commit

Permalink
Fixing flaky test GeoPointShapeQueryTests.testQueryLinearRing (#12783) (
Browse files Browse the repository at this point in the history
#12784)

(cherry picked from commit ad6b538)

Signed-off-by: Shweta Thareja <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Shweta Thareja <[email protected]>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent 40c73e0 commit 630f654
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 630f654

Please sign in to comment.