Failing test: Jest Tests.x-pack/plugins/fleet/public/hooks - useAgentVersion should return the latest availeble agent version if a snapshot version #201839
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-1732637940721265792/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts:86:3)
at _dispatchDescribe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732637940721265792/elastic/kibana-on-merge/kibana/node_modules/jest-circus/build/index.js:91:26)
at describe (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732637940721265792/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-1732637940721265792/elastic/kibana-on-merge/kibana/x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts:17:1)
at Runtime._execModule (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732637940721265792/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-1732637940721265792/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-1732637940721265792/elastic/kibana-on-merge/kibana/node_modules/jest-runtime/build/index.js:882:12)
at jestAdapter (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732637940721265792/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-1732637940721265792/elastic/kibana-on-merge/kibana/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1732637940721265792/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