From 9d8f2c2831408eb8c28a697b8b1d8b5cb044fb8c Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Thu, 14 Jan 2021 17:59:39 +0200 Subject: [PATCH] Fix test --- .../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 5b12ba4bf613fa..42012e72a40337 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