mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
parent
351e3b8fe4
commit
cb1391368b
2 changed files with 1 additions and 4 deletions
|
@ -134,7 +134,7 @@ public class SpatialEnvelopeVisitorTests extends ESTestCase {
|
|||
} else {
|
||||
// Both positive and negative x values exist, we need to decide which way to wrap the bbox
|
||||
double unwrappedWidth = maxPosX - minNegX;
|
||||
double wrappedWidth = (180 - minPosX) - (-180 - maxNegX);
|
||||
double wrappedWidth = 360.0 + maxNegX - minPosX;
|
||||
if (unwrappedWidth <= wrappedWidth) {
|
||||
// The smaller bbox is around the front of the planet, no dateline wrapping required
|
||||
assertRectangleResult(i + ": " + point, result, minNegX, maxPosX, maxY, minY, false);
|
||||
|
|
|
@ -396,9 +396,6 @@ tests:
|
|||
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderIT
|
||||
method: testSearchWhileRelocating
|
||||
issue: https://github.com/elastic/elasticsearch/issues/127188
|
||||
- class: org.elasticsearch.geometry.utils.SpatialEnvelopeVisitorTests
|
||||
method: testVisitGeoPointsWrapping
|
||||
issue: https://github.com/elastic/elasticsearch/issues/123425
|
||||
- class: org.elasticsearch.xpack.remotecluster.CrossClusterEsqlRCS2EnrichUnavailableRemotesIT
|
||||
method: testEsqlEnrichWithSkipUnavailable
|
||||
issue: https://github.com/elastic/elasticsearch/issues/127368
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue