[8.14] [ci] skip flaky test (#188313) (#188494)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[ci] skip flaky test
(#188313)](https://github.com/elastic/kibana/pull/188313)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-07-15T14:33:15Z","message":"[ci]
skip flaky test (#188313)\n\n## Summary\r\nRe:
https://github.com/elastic/kibana/issues/188234","sha":"d5345e442dce28b0ee5ef057988b156ba78784ad","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","skip-ci","backport:prev-minor","v8.15.0","v8.16.0"],"title":"[ci]
skip flaky
test","number":188313,"url":"https://github.com/elastic/kibana/pull/188313","mergeCommit":{"message":"[ci]
skip flaky test (#188313)\n\n## Summary\r\nRe:
https://github.com/elastic/kibana/issues/188234","sha":"d5345e442dce28b0ee5ef057988b156ba78784ad"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/188381","number":188381,"state":"MERGED","mergeCommit":{"sha":"cc7df3dce53667647780eb436e112d22bbee8d4b","message":"[8.15]
[ci] skip flaky test (#188313) (#188381)\n\n# Backport\r\n\r\nThis will
backport the following commits from `main` to `8.15`:\r\n- [[ci] skip
flaky
test\r\n(#188313)](https://github.com/elastic/kibana/pull/188313)\r\n\r\n<!---
Backport version: 9.4.3 -->\r\n\r\n### Questions ?\r\nPlease refer to
the [Backport
tool\r\ndocumentation](https://github.com/sqren/backport)\r\n\r\n<!--BACKPORT
[{\"author\":{\"name\":\"Alex\r\nSzabo\",\"email\":\"alex.szabo@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-07-15T14:33:15Z\",\"message\":\"[ci]\r\nskip
flaky test (#188313)\\n\\n##
Summary\\r\\nRe:\r\nhttps://github.com/elastic/kibana/issues/188234\",\"sha\":\"d5345e442dce28b0ee5ef057988b156ba78784ad\",\"branchLabelMapping\":{\"^v8.16.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"skip-ci\",\"backport:prev-minor\",\"v8.16.0\"],\"title\":\"[ci]\r\nskip
flaky\r\ntest\",\"number\":188313,\"url\":\"https://github.com/elastic/kibana/pull/188313\",\"mergeCommit\":{\"message\":\"[ci]\r\nskip
flaky test (#188313)\\n\\n##
Summary\\r\\nRe:\r\nhttps://github.com/elastic/kibana/issues/188234\",\"sha\":\"d5345e442dce28b0ee5ef057988b156ba78784ad\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.16.0\",\"branchLabelMappingKey\":\"^v8.16.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/188313\",\"number\":188313,\"mergeCommit\":{\"message\":\"[ci]\r\nskip
flaky test (#188313)\\n\\n##
Summary\\r\\nRe:\r\nhttps://github.com/elastic/kibana/issues/188234\",\"sha\":\"d5345e442dce28b0ee5ef057988b156ba78784ad\"}}]}]\r\nBACKPORT-->\r\n\r\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188313","number":188313,"mergeCommit":{"message":"[ci]
skip flaky test (#188313)\n\n## Summary\r\nRe:
https://github.com/elastic/kibana/issues/188234","sha":"d5345e442dce28b0ee5ef057988b156ba78784ad"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
This commit is contained in:
Tiago Costa 2024-07-17 00:05:31 +01:00 committed by GitHub
parent f191e8638b
commit 55894e9e6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -679,7 +679,8 @@ describe('telemetry tasks', () => {
expect(body.file).toStrictEqual(alertsDetectionsRequest.file);
});
it('should manage runtime errors searching endpoint metrics', async () => {
// Flaky: https://github.com/elastic/kibana/issues/188234
it.skip('should manage runtime errors searching endpoint metrics', async () => {
const errorMessage = 'Something went wront';
async function* mockedGenerator(