mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -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 {
|
} else {
|
||||||
// Both positive and negative x values exist, we need to decide which way to wrap the bbox
|
// Both positive and negative x values exist, we need to decide which way to wrap the bbox
|
||||||
double unwrappedWidth = maxPosX - minNegX;
|
double unwrappedWidth = maxPosX - minNegX;
|
||||||
double wrappedWidth = (180 - minPosX) - (-180 - maxNegX);
|
double wrappedWidth = 360.0 + maxNegX - minPosX;
|
||||||
if (unwrappedWidth <= wrappedWidth) {
|
if (unwrappedWidth <= wrappedWidth) {
|
||||||
// The smaller bbox is around the front of the planet, no dateline wrapping required
|
// The smaller bbox is around the front of the planet, no dateline wrapping required
|
||||||
assertRectangleResult(i + ": " + point, result, minNegX, maxPosX, maxY, minY, false);
|
assertRectangleResult(i + ": " + point, result, minNegX, maxPosX, maxY, minY, false);
|
||||||
|
|
|
@ -396,9 +396,6 @@ tests:
|
||||||
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderIT
|
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderIT
|
||||||
method: testSearchWhileRelocating
|
method: testSearchWhileRelocating
|
||||||
issue: https://github.com/elastic/elasticsearch/issues/127188
|
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
|
- class: org.elasticsearch.xpack.remotecluster.CrossClusterEsqlRCS2EnrichUnavailableRemotesIT
|
||||||
method: testEsqlEnrichWithSkipUnavailable
|
method: testEsqlEnrichWithSkipUnavailable
|
||||||
issue: https://github.com/elastic/elasticsearch/issues/127368
|
issue: https://github.com/elastic/elasticsearch/issues/127368
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue