Skip to content

Commit 44eca39

Browse files
committed
Check if the issue is related to crossing the dateline
1 parent 481f5bb commit 44eca39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/spatial/GeoHexBoundedPredicate.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public class GeoHexBoundedPredicate {
2121

2222
GeoHexBoundedPredicate(GeoBoundingBox bbox) {
2323
this.crossesDateline = bbox.right() < bbox.left();
24+
// TODO remove this once we get serverless flaky tests to pass
25+
assert this.crossesDateline == false;
2426
this.bbox = bbox;
2527
scratch = new GeoBoundingBox(new org.elasticsearch.common.geo.GeoPoint(), new org.elasticsearch.common.geo.GeoPoint());
2628
}

0 commit comments

Comments
 (0)