[Discover][Field caps] Align with the ES responses for closed indices#199717
[Discover][Field caps] Align with the ES responses for closed indices#199717jughosta merged 16 commits intoelastic:mainfrom
Conversation
|
/ci |
|
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
lukasolson
left a comment
There was a problem hiding this comment.
LGTM, just a couple of minor comments below
| indices: [], | ||
| }); | ||
|
|
||
| await supertest |
There was a problem hiding this comment.
Can we make this a new test since the description for the existing one is returns 200 when index is closed?
There was a problem hiding this comment.
@lukasolson Sure, I split them in 2 tests ffa49aa, thanks!
| .expect((response) => { | ||
| if (response.statusCode !== 200) { | ||
| log.debug(response.body); | ||
| } | ||
| }) |
There was a problem hiding this comment.
Is this intentionally left in the test or was this just for debugging?
There was a problem hiding this comment.
I left it so we can see it in logs if it ever fails again in the future.
|
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]
History
cc @jughosta |
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit f61c043)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
…ndices (#199717) (#200697) # Backport This will backport the following commits from `main` to `8.x`: - [[Discover][Field caps] Align with the ES responses for closed indices (#199717)](#199717) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-11-19T10:42:28Z","message":"[Discover][Field caps] Align with the ES responses for closed indices (#199717)\n\n- Closes: https://github.com/elastic/kibana/issues/199413\r\n- Related: https://github.com/elastic/kibana/pull/199654\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116021\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116656\r\n\r\n## Summary\r\n\r\nThis PR unskips tests and updates the Kibana API to the updated ES\r\nresponses.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f61c043bf6b00c26a2226537d6d7ad14a1dbc1c9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"[Discover][Field caps] Align with the ES responses for closed indices","number":199717,"url":"https://github.com/elastic/kibana/pull/199717","mergeCommit":{"message":"[Discover][Field caps] Align with the ES responses for closed indices (#199717)\n\n- Closes: https://github.com/elastic/kibana/issues/199413\r\n- Related: https://github.com/elastic/kibana/pull/199654\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116021\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116656\r\n\r\n## Summary\r\n\r\nThis PR unskips tests and updates the Kibana API to the updated ES\r\nresponses.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f61c043bf6b00c26a2226537d6d7ad14a1dbc1c9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199717","number":199717,"mergeCommit":{"message":"[Discover][Field caps] Align with the ES responses for closed indices (#199717)\n\n- Closes: https://github.com/elastic/kibana/issues/199413\r\n- Related: https://github.com/elastic/kibana/pull/199654\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116021\r\n- Related ES PR: https://github.com/elastic/elasticsearch/pull/116656\r\n\r\n## Summary\r\n\r\nThis PR unskips tests and updates the Kibana API to the updated ES\r\nresponses.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"f61c043bf6b00c26a2226537d6d7ad14a1dbc1c9"}}]}] BACKPORT--> Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
…elastic#199717) - Closes: elastic#199413 - Related: elastic#199654 - Related ES PR: elastic/elasticsearch#116021 - Related ES PR: elastic/elasticsearch#116656 ## Summary This PR unskips tests and updates the Kibana API to the updated ES responses. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
Summary
This PR unskips tests and updates the Kibana API to the updated ES responses.
Checklist