mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
## Summary
Original ticket: https://github.com/elastic/kibana/issues/156088
It looks like flakiness happens due to another rule from previous test
case being scheduled by alerting framework and running even after we
deleted it (since we called delete rule after it was scheduled). That
rule scheduled earlier produces some unexpected artifacts in metrics,
specifically `stats.detection_rules.detection_rule_status` where
occasionally see
<img width="1255" alt="Screenshot 2023-07-25 at 15 13 29"
src="5d1cc334
-25b5-4bf2-8822-c9858a0b72bf">
Since, in this test case the rule is disabled, we should not see this
data.
As a fix, we decided to test against specific metrics attributes
`stats.detection_rules.detection_rule_usage` which we expect being
updated.
This commit is contained in:
parent
0e081d84f2
commit
9036b15be0
1 changed files with 447 additions and 726 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue