Skip to content

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

Closed
sorenlouv wants to merge 1 commit intoelastic:8.10from
sorenlouv:backport/8.10/pr-164438
Closed

[8.10] [APM] Cleanup alerting api tests (#164438)#164927
sorenlouv wants to merge 1 commit intoelastic:8.10from
sorenlouv:backport/8.10/pr-164438

Conversation

@sorenlouv
Copy link
Copy Markdown
Contributor

{defaultPrDescription}

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)
@sorenlouv sorenlouv added the backport This PR is a backport of another PR label Aug 26, 2023
@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)

@ghost
Copy link
Copy Markdown

ghost commented Aug 26, 2023

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

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

@sorenlouv sorenlouv closed this Aug 27, 2023
@sorenlouv sorenlouv deleted the backport/8.10/pr-164438 branch August 27, 2023 10:39
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.

3 participants