Skip to content

Commit

Permalink
[AO] Unskip the custom threshold rule executor unit test (#167120)
Browse files Browse the repository at this point in the history
Fixes #162299
Fixes #162540

## Summary

This PR unskips the custom threshold rule executor unit test and removes
the warning implementation from the BE.

## 🧪 How to test
- Create a custom threshold rule, it should work as before. (Warning
implementation logic was already removed from FE; this PR only removes
the BE implementation.)
  • Loading branch information
maryam-saeidi authored Sep 28, 2023
1 parent 261febc commit 6ab0c68
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 264 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ const setEvaluationResults = (response: Array<Record<string, Evaluation>>) => {
jest.requireMock('./lib/evaluate_rule').evaluateRule.mockImplementation(() => response);
};

// FAILING: https://github.com/elastic/kibana/issues/155534
describe('The metric threshold alert type', () => {
describe('querying the entire infrastructure', () => {
afterAll(() => clearInstances());
Expand Down
Loading

0 comments on commit 6ab0c68

Please sign in to comment.