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

Fix flaky connector adapters test #198396

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Fix flaky connector adapters test #198396

merged 1 commit into from
Oct 31, 2024

Conversation

mikecote
Copy link
Contributor

@mikecote mikecote commented Oct 30, 2024

Resolves #198388

In this PR, I'm increasing the rule frequency to avoid rule actions running multiple times when asserting for the action to only have ran once.

Flaky test runner:

@mikecote mikecote added release_note:skip Skip the PR/issue when compiling release notes Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v9.0.0 backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.17.0 labels Oct 30, 2024
@mikecote mikecote self-assigned this Oct 30, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @mikecote

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7307

[✅] x-pack/test/alerting_api_integration/security_and_spaces/group4/config_non_dedicated_task_runner.ts: 100/100 tests passed.
[✅] x-pack/test/alerting_api_integration/security_and_spaces/group4/config.ts: 100/100 tests passed.

see run history

@mikecote mikecote marked this pull request as ready for review October 31, 2024 13:12
@mikecote mikecote requested a review from a team as a code owner October 31, 2024 13:12
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

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

lgtm

@mikecote mikecote merged commit 14fa363 into elastic:main Oct 31, 2024
34 of 35 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 31, 2024
Resolves elastic#198388

In this PR, I'm increasing the rule frequency to avoid rule actions
running multiple times when asserting for the action to only have ran
once.

Flaky test runner:
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7307

(cherry picked from commit 14fa363)
@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 31, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix flaky connector adapters test
(#198396)](#198396)

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

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

<!--BACKPORT [{"author":{"name":"Mike
Côté","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-31T13:53:55Z","message":"Fix
flaky connector adapters test (#198396)\n\nResolves
https://github.com/elastic/kibana/issues/198388\r\n\r\nIn this PR, I'm
increasing the rule frequency to avoid rule actions\r\nrunning multiple
times when asserting for the action to only have
ran\r\nonce.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7307","sha":"14fa363053f43ca71466e0eaad717296f86561c7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Actions","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.17.0"],"title":"Fix
flaky connector adapters
test","number":198396,"url":"https://github.com/elastic/kibana/pull/198396","mergeCommit":{"message":"Fix
flaky connector adapters test (#198396)\n\nResolves
https://github.com/elastic/kibana/issues/198388\r\n\r\nIn this PR, I'm
increasing the rule frequency to avoid rule actions\r\nrunning multiple
times when asserting for the action to only have
ran\r\nonce.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7307","sha":"14fa363053f43ca71466e0eaad717296f86561c7"}},"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/198396","number":198396,"mergeCommit":{"message":"Fix
flaky connector adapters test (#198396)\n\nResolves
https://github.com/elastic/kibana/issues/198388\r\n\r\nIn this PR, I'm
increasing the rule frequency to avoid rule actions\r\nrunning multiple
times when asserting for the action to only have
ran\r\nonce.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7307","sha":"14fa363053f43ca71466e0eaad717296f86561c7"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mike Côté <[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) Feature:Actions release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.17.0 v9.0.0
Projects
None yet
4 participants