Skip to content

Commit

Permalink
Fixing flaky test GeoPointShapeQueryTests.testQueryLinearRing
Browse files Browse the repository at this point in the history
Signed-off-by: Shweta Thareja <[email protected]>
  • Loading branch information
Shweta Thareja committed Mar 20, 2024
1 parent 1b4c76d commit e2276ac
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 e2276ac

Please sign in to comment.