Skip to content

Commit

Permalink
[Security Solution][Detection engine] fixes flaky query rule executio…
Browse files Browse the repository at this point in the history
…n test (#184597)

## Summary

- `should query and get back expected alert structure when it is a alert
on a alert` test was flaky as it asserted index name with a current
date. If it runs near midnight, when date changes it could lead to
failed index name assertions. Converted that tests to use regexp, so
date won't be asserted.
- migrated query test file from kibana expect to jest expect
- addresses flaky tests issue
  - #174805
  - #177101
  - #173342
  • Loading branch information
vitaliidm authored Jun 4, 2024
1 parent 506ff4c commit c89ee65
Showing 1 changed file with 196 additions and 195 deletions.
Loading

0 comments on commit c89ee65

Please sign in to comment.