-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Cases][Flaky Test] Memoize test provider #195088
Conversation
💔 Build FailedFailed CI StepsTest Failures
Metrics [docs]
HistoryTo update your PR or re-run it, just comment with: |
Pinging @elastic/response-ops (Team:ResponseOps) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea! 🤞
Starting backport for target branches: 8.x |
💚 Build Succeeded
Metrics [docs]
History
|
## Summary - Memo as much as possible in the common component that mocks providers for the component tests in cases. - Also fixes an issue with fake jest timers in `utility_bar.test` (cherry picked from commit 498da89)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Cases][Flaky Test] Memoize test provider (#195088)](#195088) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https:/sqren/backport) <!--BACKPORT [{"author":{"name":"Julian Gernun","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-21T08:55:45Z","message":"[Cases][Flaky Test] Memoize test provider (#195088)\n\n## Summary\r\n\r\n- Memo as much as possible in the common component that mocks providers\r\nfor the component tests in cases.\r\n- Also fixes an issue with fake jest timers in `utility_bar.test`","sha":"498da89e272b01fa33bf31998d65de2254c9c56c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor"],"title":"[Cases][Flaky Test] Memoize test provider ","number":195088,"url":"https:/elastic/kibana/pull/195088","mergeCommit":{"message":"[Cases][Flaky Test] Memoize test provider (#195088)\n\n## Summary\r\n\r\n- Memo as much as possible in the common component that mocks providers\r\nfor the component tests in cases.\r\n- Also fixes an issue with fake jest timers in `utility_bar.test`","sha":"498da89e272b01fa33bf31998d65de2254c9c56c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https:/elastic/kibana/pull/195088","number":195088,"mergeCommit":{"message":"[Cases][Flaky Test] Memoize test provider (#195088)\n\n## Summary\r\n\r\n- Memo as much as possible in the common component that mocks providers\r\nfor the component tests in cases.\r\n- Also fixes an issue with fake jest timers in `utility_bar.test`","sha":"498da89e272b01fa33bf31998d65de2254c9c56c"}}]}] BACKPORT--> Co-authored-by: Julian Gernun <[email protected]>
## Summary - Memo as much as possible in the common component that mocks providers for the component tests in cases. - Also fixes an issue with fake jest timers in `utility_bar.test`
Summary
utility_bar.test