Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RAM] Fix flaky test get_global_execution_kpi (#170328)
Browse files Browse the repository at this point in the history
## Summary

Fix -> #153112

I think it is possible to only have two errors, one for each rule.

(cherry picked from commit ea80be5)
XavierM committed Nov 1, 2023
1 parent eddccec commit 5fc0f8a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -17,8 +17,7 @@ export default function getGlobalExecutionKpiTests({ getService }: FtrProviderCo

const retry = getService('retry');

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

afterEach(() => objectRemover.removeAll());
@@ -298,7 +297,7 @@ export default function getGlobalExecutionKpiTests({ getService }: FtrProviderCo
'triggeredActions',
]);
expect(kpiLogs.success).to.be.above(1);
expect(kpiLogs.failure).to.be.above(2);
expect(kpiLogs.failure).to.be.above(1);
});
});
}

0 comments on commit 5fc0f8a

Please sign in to comment.