Skip to content

Commit

Permalink
[Security Solution][Case] Fix patch cases integration test with alerts (
Browse files Browse the repository at this point in the history
#88311)

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
cnasikas and kibanamachine authored Jan 18, 2021
1 parent 2abbd80 commit f7fdda5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f7fdda5

Please sign in to comment.