Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.16] [EDR Workflows] Improve on unavailable shard exception flakine…
…ss in cypress (#197864) (#198137) # Backport This will backport the following commits from `main` to `8.16`: - [[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)](#197864) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gergő Ábrahám","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-29T10:52:36Z","message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress","number":197864,"url":"https://github.com/elastic/kibana/pull/197864","mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197864","number":197864,"mergeCommit":{"message":"[EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864)\n\n## Summary\r\n\r\nThe cypress task `cy.task('indexEndpointHosts')` sometimes throws\r\n`no_shard_available_action_exception`, when transforms are stopped. This\r\nlooks like a temporary issue, and in other tests it is simply retried.\r\n\r\nThis PR adds the retry logic for this type of error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses #191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Gergő Ábrahám <[email protected]>
- Loading branch information