[8.15] [ci] skip flaky test (#188313) (#188381)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[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.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":"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:
Kibana Machine 2024-07-16 00:44:03 +02:00 committed by GitHub
parent 53c706932e
commit cc7df3dce5
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(