Failing test: Jest Tests.x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks - useAgentSoftLimit should return shouldDisplayAgentSoftLimit:false if soft limit is enabled in config and there is less online agents than the limit #201485
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at it (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx:33:3)
at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:55:5)
at Object.describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx:18:1)
at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:882:12)
at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
at runTestInternal (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732318091125842718/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:444:34)
A test failed on a tracked branch
First failure: kibana-on-merge - main