Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SecuritySolution][Endpoint] Re-enabled skipped tests #197220

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

ashokaditya
Copy link
Member

@ashokaditya ashokaditya commented Oct 22, 2024

Summary

This PR attempts to fix tests skipped in /issues/193092 and /issues/193554.
The tests seem to be flaky right after an upgrade to user-event dependency on Sep 10th.

Checklist

@ashokaditya ashokaditya added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.17.0 labels Oct 22, 2024
@ashokaditya ashokaditya self-assigned this Oct 22, 2024
@ashokaditya ashokaditya requested a review from a team as a code owner October 22, 2024 11:42
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

@ashokaditya ashokaditya added the backport:version Backport to applied version labels label Oct 22, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @ashokaditya

Copy link
Contributor

@gergoabraham gergoabraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the changes here! it looks good, but i'm missing some information. were you able to reproduce the issue? or is this a best-effort improvement to see what will happen? would be great to see these tests under the flaky runner

@ashokaditya
Copy link
Member Author

thanks for the changes here! it looks good, but i'm missing some information. were you able to reproduce the issue? or is this a best-effort improvement to see what will happen? would be great to see these tests under the flaky runner

Yes, there's no way to know until this is merged and out in the wild. I couldn't reproduce this and the flaky runner doesn't run unit tests yet.

@ashokaditya ashokaditya merged commit e70b533 into elastic:main Oct 23, 2024
59 checks passed
@ashokaditya ashokaditya deleted the task/unskip-test-193092-193554 branch October 23, 2024 08:33
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11476137979

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 23, 2024
…#197380)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[SecuritySolution][Endpoint] Re-enabled skipped tests
(#197220)](#197220)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-23T08:33:37Z","message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","backport:version","v8.17.0"],"title":"[SecuritySolution][Endpoint]
Re-enabled skipped
tests","number":197220,"url":"https://github.com/elastic/kibana/pull/197220","mergeCommit":{"message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197220","number":197220,"mergeCommit":{"message":"[SecuritySolution][Endpoint]
Re-enabled skipped tests (#197220)\n\n## Summary\r\n\r\nThis PR attempts
to fix tests skipped in /issues/193092\r\nand
/issues/193554.\r\nThe tests seem to be flaky right after
an [upgrade
to\r\n`user-event`](#189949)
dependency\r\non Sep 10th.\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"e70b533bdb443a4ebc8229237583160eeeaad412"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ash <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants