Skip to content

Commit

Permalink
skip flaky alerts test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Aug 5, 2020
1 parent dffcdf9 commit b44d375
Showing 1 changed file with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,8 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
.then((response: SupertestResponse) => response.body);
}

function ensureTasksIndexRefreshed() {
return supertest
.get(`/api/ensure_tasks_index_refreshed`)
.send({})
.expect(200)
.then((response) => response.body);
}

describe('update', () => {
// FLAKY: https://github.com/elastic/kibana/issues/72803
describe.skip('update', () => {
const objectRemover = new ObjectRemover(supertest);

after(() => objectRemover.removeAll());
Expand Down Expand Up @@ -739,8 +732,6 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
ensureDatetimeIsWithinRange(Date.parse(alertTask.runAt), 30 * 60 * 1000);
});

await ensureTasksIndexRefreshed();

const updatedData = {
name: 'bcd',
tags: ['bar'],
Expand Down

0 comments on commit b44d375

Please sign in to comment.