fix checking for pending requests in an infinite loop WIP #1703
Azure Pipelines / tulios.kafkajs
failed
Jul 3, 2024 in 5m 1s
Build #20240703.2 had test failures
Details
- Failed: 1 (0.08%)
- Passed: 1,311 (99.09%)
- Other: 11 (0.83%)
- Total: 1,323
Annotations
Check failure on line 413 in Build log
azure-pipelines / tulios.kafkajs
Build log #L413
Bash exited with code '1'.
azure-pipelines / tulios.kafkajs
Network > RequestQueue #fulfillRequest does not start checking for pending requests needlessly (in an infinite loop)
Test failed
Raw output
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 694
at Object.<anonymous> (/home/vsts/work/1/s/src/network/requestQueue/index.spec.js:284:36)
at runNextTicks (internal/process/task_queues.js:60:5)
at processTimers (internal/timers.js:497:9)
at _runTest (/home/vsts/work/1/s/node_modules/jest-circus/build/run.js:140:3)
at _runTestsForDescribeBlock (/home/vsts/work/1/s/node_modules/jest-circus/build/run.js:74:7)
at _runTestsForDescribeBlock (/home/vsts/work/1/s/node_modules/jest-circus/build/run.js:80:5)
at _runTestsForDescribeBlock (/home/vsts/work/1/s/node_modules/jest-circus/build/run.js:80:5)
at run (/home/vsts/work/1/s/node_modules/jest-circus/build/run.js:23:3)
at runAndTransformResultsToJestFormat (/home/vsts/work/1/s/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:177:21)
at jestAdapter (/home/vsts/work/1/s/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:123:19)
Loading