Skip to content

Comments

[9.0] [APM] Try to fix flaky test (#227628)#228018

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-227628
Jul 15, 2025
Merged

[9.0] [APM] Try to fix flaky test (#227628)#228018
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-227628

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#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
@kibanamachine kibanamachine enabled auto-merge (squash) July 15, 2025 13:28
@botelastic botelastic bot added the Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. label Jul 15, 2025
@elasticmachine
Copy link
Contributor

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

@kibanamachine kibanamachine merged commit 1797331 into elastic:9.0 Jul 15, 2025
13 of 14 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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