Skip to content

Commit

Permalink
[8.17] Flaky #199782 (#203978) (#204017)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.17`:
- [Flaky #199782
(#203978)](#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":"[email protected]"},"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 <[email protected]>
  • Loading branch information
kibanamachine and afharo authored Dec 12, 2024
1 parent 34c9ed8 commit c79439c
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);

Expand Down

0 comments on commit c79439c

Please sign in to comment.