Skip to content

[8.x] [EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)#198138

Merged
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-197864
Oct 30, 2024
Merged

[8.x] [EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)#198138
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-197864

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…ypress (elastic#197864)

## Summary

The cypress task `cy.task('indexEndpointHosts')` sometimes throws
`no_shard_available_action_exception`, when transforms are stopped. This
looks like a temporary issue, and in other tests it is simply retried.

This PR adds the retry logic for this type of error, and unskips some
tests.

closes elastic#194135
closes elastic#191914

### Checklist

Delete any items that are not applicable to this PR.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit db18039)
@kibanamachine kibanamachine requested a review from a team as a code owner October 29, 2024 10:57
@kibanamachine kibanamachine requested review from paul-tavares and tomsonpl and removed request for a team October 29, 2024 10:57
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Oct 29, 2024
@kibanamachine kibanamachine enabled auto-merge (squash) October 29, 2024 10:57
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Oct 29, 2024

💔 Build Failed

Failed CI Steps

History

cc @gergoabraham

@kibanamachine kibanamachine merged commit afcec3f into elastic:8.x Oct 30, 2024
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.

4 participants