Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

Closes elastic#234664

## Summary

This PR fixes a flaky APM test cleanup `after` issue. The test was
failing because the after hook was trying to delete the Elasticsearch
index apm-8.0.0-transaction without first checking if it exists. This
caused an `index_not_found_exception` when the index didn't exist. The
test setup in the before hook properly checks if the index exists before
deleting it ([lines
35-40](https://github.com/elastic/kibana/compare/main...jennypavlova:kibana:fix-flaky-apm-test-after?expand=1#diff-88902b6ae54830e04bb08653dfda680e427fd98f5d5ae8e5eff6d6dbad455e2cL35-L40)),
but the cleanup in the after hook ([line
137](https://github.com/elastic/kibana/compare/main...jennypavlova:kibana:fix-flaky-apm-test-after?expand=1#diff-88902b6ae54830e04bb08653dfda680e427fd98f5d5ae8e5eff6d6dbad455e2cL137))
was missing this same safety check.

(cherry picked from commit 8b85ef3)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Oct 30, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) October 30, 2025 19:04
@elasticmachine
Copy link
Contributor

CI was triggered for this PR, but this PR targets 9.0 which should not receive a future release. CI is not supported for these branches. Please consult the release schedule, or contact #kibana-operations if you believe this is an error.

The following branches are currently considered to be open:

  • main
  • 9.2
  • 9.1
  • 8.19
  • 7.17

1 similar comment
@elasticmachine
Copy link
Contributor

CI was triggered for this PR, but this PR targets 9.0 which should not receive a future release. CI is not supported for these branches. Please consult the release schedule, or contact #kibana-operations if you believe this is an error.

The following branches are currently considered to be open:

  • main
  • 9.2
  • 9.1
  • 8.19
  • 7.17

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants