Skip to content

Commit

Permalink
[Uptime] Un-skip alert flaky test (elastic#142717)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 authored Oct 5, 2022
1 parent 756bc17 commit 1ff6658
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/g
describe.skip('tls alert', function () {
describe('tls alert', function () {
const DEFAULT_DATE_START = 'Sep 10, 2019 @ 12:40:08.078';
const DEFAULT_DATE_END = 'Sep 11, 2019 @ 19:40:08.078';
let alerts: any;
Expand Down Expand Up @@ -185,7 +184,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {

it('has created a valid alert with expected parameters', async () => {
let alert: any;
await retry.tryForTime(15000, async () => {
await retry.tryForTime(60 * 1000, async () => {
const apiResponse = await supertest.get(`/api/alerts/_find?search=${alertId}`);
const alertsFromThisTest = apiResponse.body.data.filter(
({ name }: { name: string }) => name === alertId
Expand Down

0 comments on commit 1ff6658

Please sign in to comment.