-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Improve policy_secrets test suite performance #193359
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#6975[❌] x-pack/test/fleet_api_integration/config.epm.ts: 0/100 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6976[✅] x-pack/test/fleet_api_integration/config.epm.ts: 100/100 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6977[✅] x-pack/test/fleet_api_integration/config.epm.ts: 100/100 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6982[✅] x-pack/test/fleet_api_integration/config.fleet.ts: 100/100 tests passed. |
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
(cherry picked from commit 8bd9085)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#193476) # Backport This will backport the following commits from `main` to `8.x`: - [[Fleet] Improve policy_secrets test suite performance (#193359)](#193359) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nicolas Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-19T19:39:46Z","message":"[Fleet] Improve policy_secrets test suite performance (#193359)","sha":"8bd90857ed667cbbcbe46041a4518366baa57883","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Fleet] Improve policy_secrets test suite performance","number":193359,"url":"https://github.com/elastic/kibana/pull/193359","mergeCommit":{"message":"[Fleet] Improve policy_secrets test suite performance (#193359)","sha":"8bd90857ed667cbbcbe46041a4518366baa57883"}},"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/193359","number":193359,"mergeCommit":{"message":"[Fleet] Improve policy_secrets test suite performance (#193359)","sha":"8bd90857ed667cbbcbe46041a4518366baa57883"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nicolas Chaulet <[email protected]>
Summary
Related to #191924
While investigating the flakyness around those API integration test I found them pretty slow to run, that PR attempt to Improve test suite performance for policy_secrets, a lot of those tests where perfoming the same action again in a
beforeEach
and checkin the result, that PR change that to improve the perofmanceThis was ran against the flaky test runner and seems to work as expected.
Before
After