Skip to content

Commit

Permalink
[8.7] fixes Failing ES Promotion: X-Pack API Integration Tests x-pack…
Browse files Browse the repository at this point in the history
…/test/api_integration/apis/maps/get_grid_tile.js (#150768) (#150794)

# Backport

This will backport the following commits from `main` to `8.7`:
- [fixes Failing ES Promotion: X-Pack API Integration Tests
x-pack/test/api_integration/apis/maps/get_grid_tile.js
(#150768)](#150768)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T21:35:28Z","message":"fixes
Failing ES Promotion: X-Pack API Integration Tests
x-pack/test/api_integration/apis/maps/get_grid_tile.js
(#150768)\n\nFixes
https://github.com/elastic/kibana/issues/149068\r\n\r\nOrder of the
vertices changed as side effect
of\r\nhttps://github.com/elastic/elasticsearch/pull/92883. PR updates
expects\r\nclause for new
order","sha":"d6a4ebf46d9af18618cfed16666921b58db1e400","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","release_note:skip","auto-backport","Feature:Maps","v8.7.0","v8.8.0"],"number":150768,"url":"https://github.com/elastic/kibana/pull/150768","mergeCommit":{"message":"fixes
Failing ES Promotion: X-Pack API Integration Tests
x-pack/test/api_integration/apis/maps/get_grid_tile.js
(#150768)\n\nFixes
https://github.com/elastic/kibana/issues/149068\r\n\r\nOrder of the
vertices changed as side effect
of\r\nhttps://github.com/elastic/elasticsearch/pull/92883. PR updates
expects\r\nclause for new
order","sha":"d6a4ebf46d9af18618cfed16666921b58db1e400"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150768","number":150768,"mergeCommit":{"message":"fixes
Failing ES Promotion: X-Pack API Integration Tests
x-pack/test/api_integration/apis/maps/get_grid_tile.js
(#150768)\n\nFixes
https://github.com/elastic/kibana/issues/149068\r\n\r\nOrder of the
vertices changed as side effect
of\r\nhttps://github.com/elastic/elasticsearch/pull/92883. PR updates
expects\r\nclause for new
order","sha":"d6a4ebf46d9af18618cfed16666921b58db1e400"}}]}] BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
  • Loading branch information
kibanamachine and nreese authored Feb 9, 2023
1 parent 8d01756 commit c36b539
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x-pack/test/api_integration/apis/maps/get_grid_tile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ function findFeature(layer, callbackFn) {
export default function ({ getService }) {
const supertest = getService('supertest');

// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/149068
describe.skip('getGridTile', () => {
describe('getGridTile', () => {
const URL = `/api/maps/mvt/getGridTile/3/2/3.pbf\
?geometryFieldName=geo.coordinates\
&hasLabels=false\
Expand Down Expand Up @@ -152,13 +151,13 @@ export default function ({ getService }) {
// assert feature geometry is hex
expect(gridFeature.loadGeometry()).to.eql([
[
{ x: 111, y: 698 },
{ x: 89, y: 710 },
{ x: 67, y: 696 },
{ x: 67, y: 669 },
{ x: 89, y: 657 },
{ x: 112, y: 672 },
{ x: 111, y: 698 },
{ x: 89, y: 710 },
],
]);
});
Expand Down

0 comments on commit c36b539

Please sign in to comment.