Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: Jest Tests.x-pack/plugins/triggers_actions_ui/public/application/hooks - useAlertDataView only fetch index names for security featureId #177250

Closed
kibanamachine opened this issue Feb 20, 2024 · 4 comments · Fixed by #177799
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Alerting/RulesManagement Issues related to the Rules Management UX Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Feb 20, 2024

A test failed on a tracked branch

Error: Timed out in waitForNextUpdate after 1000ms.
    at waitForNextUpdate (/var/lib/buildkite-agent/builds/kb-n2-4-spot-64ebc256936c010c/elastic/kibana-on-merge/kibana/node_modules/@testing-library/react-hooks/lib/core/asyncUtils.js:96:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processTimers (node:internal/timers:511:9)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-64ebc256936c010c/elastic/kibana-on-merge/kibana/x-pack/plugins/triggers_actions_ui/public/application/hooks/use_alert_data_view.test.tsx:115:7

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Feb 20, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Feb 20, 2024
@kibanamachine kibanamachine added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Feb 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Feb 20, 2024
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@mistic
Copy link
Member

mistic commented Mar 6, 2024

Skipped.

main: 4dcc900

umbopepato added a commit that referenced this issue Mar 12, 2024
## Summary

Removes unnecessary `act` and `waitForNextUpdate` calls from
`useAlertDataView` tests. Ensures only one assertion is performed in
`waitFor` callbacks.

Fixes #177250

---------

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Alerting/RulesManagement Issues related to the Rules Management UX Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants