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/cases/public/components/all_cases - AllCases should render the stats #139676

Closed
kibanamachine opened this issue Aug 29, 2022 · 7 comments · Fixed by #141113 or #149005
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Feature:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 29, 2022

A test failed on a tracked branch

Error: thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/all_cases/index.test.tsx:122:3
    at _dispatchDescribe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:67:26)
    at describe (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:30:5)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/x-pack/plugins/cases/public/components/all_cases/index.test.tsx:44:1)
    at Runtime._execModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1299:24)
    at Runtime._loadModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:898:12)
    at Runtime.requireModule (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:746:10)
    at jestAdapter (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:106:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at runTestInternal (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:380:16)
    at runTest (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:472:34)
    at Object.worker (/var/lib/buildkite-agent/builds/kb-n2-4-spot-211c4396deb5cca4/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/testWorker.js:133:12)

First failure: CI Build - main

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

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 29, 2022
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@cnasikas cnasikas added the Feature:Cases Cases feature label Sep 20, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops-cases (Feature:Cases)

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.5

@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.5

jbudz added a commit that referenced this issue Oct 4, 2022
@jbudz
Copy link
Member

jbudz commented Oct 4, 2022

Skipped

8.5: e6b0ccd

@cnasikas cnasikas removed their assignment Nov 15, 2022
js-jankisalvi added a commit that referenced this issue Feb 10, 2023
## Summary

This PR fixes failed jest tests for `all_cases_list ` component. 
Fixes: #139676, #142763, #148094, #148095, #148096, #148485, #148486,
#148487, #148488, #148490, #148491, #148492, #148493, #148343

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
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:Cases Cases feature Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
5 participants