From 5188e4b63e2c48ebf82c0972716886eada108035 Mon Sep 17 00:00:00 2001 From: Lee Drengenberg Date: Fri, 12 Aug 2022 14:46:05 -0500 Subject: [PATCH] skipCloud on failing index_lifecycle_management tests (#138673) * skipCloud on failing deployment mgmt tests * fix type issue * revert skipping console test * revert this skipCloud --- .../index_lifecycle_management/snapshot_policies.ts | 5 ++++- .../index_lifecycle_management/snapshot_repositories.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_policies.ts b/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_policies.ts index 2bfd0f0a3f56f..f33115da9c3b3 100644 --- a/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_policies.ts +++ b/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_policies.ts @@ -21,7 +21,10 @@ export default function ({ getService }: FtrProviderContext) { const { createSnapshotRepository, cleanupRepositories } = registerSnapshotRepositoriesHelpers(getService); - describe('snapshot policies', () => { + describe('snapshot policies', function describeSnapshotPoliciesTest() { + // skip Cloud failing test https://github.com/elastic/kibana/issues/136881 + this.tags(['skipCloud']); + before(async () => Promise.all([cleanupPolicies(), cleanupRepositories()])); after(async () => Promise.all([cleanupPolicies(), cleanupRepositories()])); diff --git a/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_repositories.ts b/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_repositories.ts index bc1acfd9a5a07..e758ab294b12b 100644 --- a/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_repositories.ts +++ b/x-pack/test/api_integration/apis/management/index_lifecycle_management/snapshot_repositories.ts @@ -19,7 +19,10 @@ export default function ({ getService }: FtrProviderContext) { const { loadSnapshotRepositories, createSnapshotRepository, cleanupRepositories } = registerSnapshotRepositoriesHelpers(getService); - describe('snapshot repositories', () => { + describe('snapshot repositories', function describeSnapshotRepositoriesTest() { + // skip Cloud failing test https://github.com/elastic/kibana/issues/136882 + this.tags(['skipCloud']); + before(async () => { isCloud = await deployment.isCloud(); await Promise.all([cleanupRepositories()]);