Skip to content

Commit

Permalink
[8.x] [Security Solutoin] [Detections] skip flaky eql sequence test (#…
Browse files Browse the repository at this point in the history
…202977) (#203014)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solutoin] [Detections] skip flaky eql sequence test
(#202977)](#202977)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Devin W.
Hurley","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T19:21:00Z","message":"[Security
Solutoin] [Detections] skip flaky eql sequence test (#202977)\n\n##
Summary\r\n\r\nskips flakey test:
https://github.com/elastic/kibana/issues/202945","sha":"3bb6bab8e76a0214a07ca5ce835dfaee9e5085cf","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v8.18.0"],"number":202977,"url":"https://github.com/elastic/kibana/pull/202977","mergeCommit":{"message":"[Security
Solutoin] [Detections] skip flaky eql sequence test (#202977)\n\n##
Summary\r\n\r\nskips flakey test:
https://github.com/elastic/kibana/issues/202945","sha":"3bb6bab8e76a0214a07ca5ce835dfaee9e5085cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202977","number":202977,"mergeCommit":{"message":"[Security
Solutoin] [Detections] skip flaky eql sequence test (#202977)\n\n##
Summary\r\n\r\nskips flakey test:
https://github.com/elastic/kibana/issues/202945","sha":"3bb6bab8e76a0214a07ca5ce835dfaee9e5085cf"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
  • Loading branch information
dhurley14 authored Dec 4, 2024
1 parent 7cc94c6 commit e6c5c1c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2982,7 +2982,8 @@ export default ({ getService }: FtrProviderContext) => {
expect(suppressionEnd).toBeGreaterThan(new Date(secondTimestamp).getDate());
});

it('does not suppress alerts outside of duration', async () => {
// Skipped here: https://github.com/elastic/kibana/issues/202945
it.skip('does not suppress alerts outside of duration', async () => {
const id = uuidv4();
// this timestamp is 1 minute in the past
const firstTimestamp = new Date(Date.now() - 5000).toISOString();
Expand Down Expand Up @@ -3170,7 +3171,8 @@ export default ({ getService }: FtrProviderContext) => {
});
});

it('does not suppress alerts outside of duration when query with 3 sequences', async () => {
// Skipped here: https://github.com/elastic/kibana/issues/202945
it.skip('does not suppress alerts outside of duration when query with 3 sequences', async () => {
const id = uuidv4();
const dateNow = Date.now();
const timestampSequenceEvent1 = new Date(dateNow - 5000).toISOString();
Expand Down

0 comments on commit e6c5c1c

Please sign in to comment.