Skip to content

Commit

Permalink
Flaky #199782 (#203978)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Dec 12, 2024
1 parent 2188013 commit c75ae63
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 c75ae63

Please sign in to comment.