Skip to content

[8.18] [APM] Try to fix flaky test (#227628)#228016

Merged
kibanamachine merged 2 commits intoelastic:8.18from
kibanamachine:backport/8.18/pr-227628
Jul 15, 2025
Merged

[8.18] [APM] Try to fix flaky test (#227628)#228016
kibanamachine merged 2 commits intoelastic:8.18from
kibanamachine:backport/8.18/pr-227628

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.18:

Questions ?

Please refer to the Backport tool documentation

Closes elastic#214673

## Summary

This PR tries to fix a flaky test by intercepting a request and waiting
for it. I couldn't reproduce the flaky behaviour, but I saw that we are
not waiting for the request to finish before checking the value, so my
assumption is that the request is slower in the CI compared to the local
execution, and that's why the test is failing.

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
(cherry picked from commit 1299379)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jul 15, 2025
@botelastic botelastic bot added the Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. label Jul 15, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 15, 2025 13:27
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@kibanamachine kibanamachine merged commit db5c8f3 into elastic:8.18 Jul 15, 2025
7 of 8 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

cc @jennypavlova

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:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants