Skip to content

[8.10] [APM] Cleanup alerting api tests (#164438)#164928

Merged
kibanamachine merged 1 commit into8.10from
backport/8.10/pr-164438
Aug 27, 2023
Merged

[8.10] [APM] Cleanup alerting api tests (#164438)#164928
kibanamachine merged 1 commit into8.10from
backport/8.10/pr-164438

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.10:

Questions ?

Please refer to the Backport tool documentation

This PR cleans up and refactors the APM API tests for rules and
alerting.

- introduces some new helper methods like `deleteRuleById`
- removes dependency on index actions to test alerts (we can just use
the alert index)
- improve flaky tests and ensure that tests can be run in isolation and
in any order

(cherry picked from commit d440288)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 26, 2023
@kibanamachine kibanamachine enabled auto-merge (squash) August 26, 2023 23:50
@botelastic botelastic bot added the Team:APM - DEPRECATED Use Team:obs-ux-infra_services. label Aug 26, 2023
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/apm-ui (Team:APM)

@kibanamachine kibanamachine merged commit a8651d2 into 8.10 Aug 27, 2023
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

cc @sqren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:APM - DEPRECATED Use Team:obs-ux-infra_services.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants