# Backport

This will backport the following commits from `main` to `8.17`:
- [Flaky #199782
(#203978)](https://github.com/elastic/kibana/pull/203978)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T13:06:26Z","message":"Flaky
#199782
(#203978)","sha":"c75ae635fc6e81c719676b2fc11ce3262847a25f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.18.0","v8.17.1"],"title":"Flaky
#199782","number":203978,"url":"https://github.com/elastic/kibana/pull/203978","mergeCommit":{"message":"Flaky
#199782
(#203978)","sha":"c75ae635fc6e81c719676b2fc11ce3262847a25f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203978","number":203978,"mergeCommit":{"message":"Flaky
#199782
(#203978)","sha":"c75ae635fc6e81c719676b2fc11ce3262847a25f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
This commit is contained in:
Kibana Machine 2024-12-13 01:59:36 +11:00 committed by GitHub
parent 34c9ed88ff
commit c79439c39f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,9 +17,15 @@ import type {
import { FtrProviderContext } from '../../common/ftr_provider_context';
const getApiDeprecations = (allDeprecations: DomainDeprecationDetails[]) => {
return allDeprecations.filter(
(deprecation) => deprecation.deprecationType === 'api'
) as unknown as Array<DomainDeprecationDetails<ApiDeprecationDetails>>;
return (
allDeprecations
.filter(
(deprecation): deprecation is DomainDeprecationDetails<ApiDeprecationDetails> =>
deprecation.deprecationType === 'api'
)
// Ensure consistent sorting
.sort((a, b) => a.title.localeCompare(b.title))
);
};
export default function ({ getService }: FtrProviderContext) {
@ -28,8 +34,7 @@ export default function ({ getService }: FtrProviderContext) {
const retry = getService('retry');
const es = getService('es');
// FLAKY: https://github.com/elastic/kibana/issues/199782
describe.skip('Kibana API Deprecations', function () {
describe('Kibana API Deprecations', function () {
// bail on first error in this suite since cases sequentially depend on each other
this.bail(true);