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

[Security Solution] Fix flaky unified component test #189791 #195093

Merged

Conversation

logeekal
Copy link
Contributor

@logeekal logeekal commented Oct 4, 2024

Summary

Fixes #189791

Pagination test suite was timing out because huge number of records in data grid was rendering in JSDOM which were creating performance issues. This PR fixes that so that test does not times out.

@logeekal logeekal marked this pull request as ready for review October 4, 2024 14:56
@logeekal logeekal requested a review from a team as a code owner October 4, 2024 14:56
@logeekal logeekal changed the title Fix/flaky unified component test 189793 [Security Solution] Fix flaky unified component test Oct 4, 2024
@logeekal logeekal changed the title [Security Solution] Fix flaky unified component test [Security Solution] Fix flaky unified component test #189791 Oct 4, 2024
@logeekal logeekal added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team labels Oct 4, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@logeekal logeekal added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label Oct 4, 2024
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@logeekal logeekal merged commit 67f2b7c into elastic:main Oct 7, 2024
59 of 60 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 7, 2024
…lastic#195093)

## Summary

Fixes elastic#189791

Pagination test suite was timing out because huge number of records in
data grid was rendering in JSDOM which were creating performance issues.
This PR fixes that so that test does not times out.

(cherry picked from commit 67f2b7c)
@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 7, 2024
…195093) (#195238)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution] Fix flaky unified component test #189791
(#195093)](#195093)

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

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-07T12:15:31Z","message":"[Security
Solution] Fix flaky unified component test #189791 (#195093)\n\n##
Summary\r\n\r\nFixes #189791\r\n\r\nPagination test suite was timing out
because huge number of records in\r\ndata grid was rendering in JSDOM
which were creating performance issues.\r\nThis PR fixes that so that
test does not times
out.","sha":"67f2b7cad2df49dbfec4a9603f01fbd6e76f8cb9","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","backport:prev-minor"],"title":"[Security
Solution] Fix flaky unified component test
#189791","number":195093,"url":"https://github.com/elastic/kibana/pull/195093","mergeCommit":{"message":"[Security
Solution] Fix flaky unified component test #189791 (#195093)\n\n##
Summary\r\n\r\nFixes #189791\r\n\r\nPagination test suite was timing out
because huge number of records in\r\ndata grid was rendering in JSDOM
which were creating performance issues.\r\nThis PR fixes that so that
test does not times
out.","sha":"67f2b7cad2df49dbfec4a9603f01fbd6e76f8cb9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195093","number":195093,"mergeCommit":{"message":"[Security
Solution] Fix flaky unified component test #189791 (#195093)\n\n##
Summary\r\n\r\nFixes #189791\r\n\r\nPagination test suite was timing out
because huge number of records in\r\ndata grid was rendering in JSDOM
which were creating performance issues.\r\nThis PR fixes that so that
test does not times
out.","sha":"67f2b7cad2df49dbfec4a9603f01fbd6e76f8cb9"}}]}] BACKPORT-->

Co-authored-by: Jatin Kathuria <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.16.0 v9.0.0
Projects
None yet
5 participants