Fixing test failure (#138156)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
doakalexi 2022-08-10 09:28:39 -04:00 committed by GitHub
parent 0c46b0dda9
commit 27162e0802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,12 +356,13 @@ export default function createUpdateTests({ getService }: FtrProviderContext) {
],
};
const bulkEditResponse = await retry.try(async () =>
supertest
.post(`${getUrlPrefix(Spaces.space1.id)}/internal/alerting/rules/_bulk_edit`)
.set('kbn-xsrf', 'foo')
.send(payload)
.expect(200)
const bulkEditResponse = await retry.try(
async () =>
await supertest
.post(`${getUrlPrefix(Spaces.space1.id)}/internal/alerting/rules/_bulk_edit`)
.set('kbn-xsrf', 'foo')
.send(payload)
.expect(200)
);
// after applying bulk edit action monitoring still available