From f7fdda5db7e41b04f0f37cc180b441e8ed0c9321 Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Mon, 18 Jan 2021 09:59:26 +0200 Subject: [PATCH] [Security Solution][Case] Fix patch cases integration test with alerts (#88311) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../basic/tests/cases/patch_cases.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/test/case_api_integration/basic/tests/cases/patch_cases.ts b/x-pack/test/case_api_integration/basic/tests/cases/patch_cases.ts index 5b12ba4bf613..42012e72a403 100644 --- a/x-pack/test/case_api_integration/basic/tests/cases/patch_cases.ts +++ b/x-pack/test/case_api_integration/basic/tests/cases/patch_cases.ts @@ -35,9 +35,7 @@ export default ({ getService }: FtrProviderContext): void => { const esArchiver = getService('esArchiver'); const es = getService('es'); - // Failing: See https://github.com/elastic/kibana/issues/88130 - // FLAKY: https://github.com/elastic/kibana/issues/87988 - describe.skip('patch_cases', () => { + describe('patch_cases', () => { afterEach(async () => { await deleteCases(es); await deleteCasesUserActions(es); @@ -277,7 +275,8 @@ export default ({ getService }: FtrProviderContext): void => { await esArchiver.unload('auditbeat/hosts'); }); - it('updates alert status when the status is updated and syncAlerts=true', async () => { + // FLAKY: https://github.com/elastic/kibana/issues/87988 + it.skip('updates alert status when the status is updated and syncAlerts=true', async () => { const rule = getRuleForSignalTesting(['auditbeat-*']); const { body: postedCase } = await supertest @@ -377,7 +376,8 @@ export default ({ getService }: FtrProviderContext): void => { expect(updatedAlert.hits.hits[0]._source.signal.status).eql('open'); }); - it('it updates alert status when syncAlerts is turned on', async () => { + // Failing: See https://github.com/elastic/kibana/issues/88130 + it.skip('it updates alert status when syncAlerts is turned on', async () => { const rule = getRuleForSignalTesting(['auditbeat-*']); const { body: postedCase } = await supertest