Skip to content

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

Merged
logeekal merged 5 commits intoelastic:mainfrom
logeekal:fix/flaky_unified_component_test_189793
Oct 7, 2024
Merged

[Security Solution] Fix flaky unified component test #189791#195093
logeekal merged 5 commits intoelastic:mainfrom
logeekal:fix/flaky_unified_component_test_189793

Conversation

@logeekal
Copy link
Copy Markdown
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 Threat Hunting Investigations Team labels Oct 4, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

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

@kibana-ci
Copy link
Copy Markdown

💛 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
@kibanamachine
Copy link
Copy Markdown
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
Copy Markdown
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":"jatin.kathuria@elastic.co"},"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 <jatin.kathuria@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.16.0 v9.0.0

Projects

None yet

5 participants