refactor: move metrics service scheduling #1504
auto-assign-pr-author.yaml
on: pull_request_target
assign-author
5s
Annotations
6 errors
src/test/e2e/api/admin/user/user.test.ts ► -Should get my user data ► -Should get my user data:
src/test/e2e/api/admin/user/user.test.ts#L10
Failed test found in:
jest-junit.xml
Error:
Error: thrown: "Exceeded timeout of 10000 ms for a hook.
|
src/test/e2e/api/admin/user/user.test.ts ► -Test execution failure: could be caused by test hooks like 'afterAll'. ► -Test execution failure: could be caused by test hooks like 'afterAll'.:
jest-junit.xml#L0
Failed test found in:
jest-junit.xml
Error:
{"message":"","stack":"TypeError: Cannot read properties of undefined (reading 'destroy')\n at Object.destroy (/home/runner/work/unleash/unleash/src/test/e2e/api/admin/user/user.test.ts:16:15)\n at Promise.then.completed (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusHook (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:281:40)\n at _runTestsForDescribeBlock (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:154:7)\n at run (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/testWorker.js:106:12)"}
|
src/test/e2e/health.e2e.test.ts ► -returns health good ► -returns health good:
src/test/e2e/health.e2e.test.ts#L8
Failed test found in:
jest-junit.xml
Error:
Error: thrown: "Exceeded timeout of 10000 ms for a hook.
|
src/test/e2e/health.e2e.test.ts ► -Test execution failure: could be caused by test hooks like 'afterAll'. ► -Test execution failure: could be caused by test hooks like 'afterAll'.:
jest-junit.xml#L0
Failed test found in:
jest-junit.xml
Error:
{"message":"","stack":"TypeError: Cannot read properties of undefined (reading 'destroy')\n at Object.destroy (/home/runner/work/unleash/unleash/src/test/e2e/health.e2e.test.ts:14:14)\n at Promise.then.completed (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise (<anonymous>)\n at callAsyncCircusFn (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusHook (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:281:40)\n at _runTestsForDescribeBlock (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:154:7)\n at run (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:71:3)\n at runAndTransformResultsToJestFormat (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at jestAdapter (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at runTestInternal (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:367:16)\n at runTest (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:444:34)\n at Object.worker (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/testWorker.js:106:12)"}
|
src/lib/routes/client-api/metrics.test.ts ► -should set lastSeen on toggle ► -should set lastSeen on toggle:
src/lib/features/feature-toggle/feature-toggle-store.ts#L419
Failed test found in:
jest-junit.xml
Error:
NotFoundError: No feature toggle found
|
src/lib/routes/client-api/metrics.test.ts ► -should return a 400 when required fields are missing ► -should return a 400 when required fields are missing:
src/lib/features/feature-toggle/feature-toggle-store.ts#L479
Failed test found in:
jest-junit.xml
Error:
NameExistsError: Feature toggleLastSeen already exists
|