Skip to content

chore: Migrate block of unit tests to node:test #5396

chore: Migrate block of unit tests to node:test

chore: Migrate block of unit tests to node:test #5396

Re-run triggered September 19, 2024 19:44
Status Success
Total duration 11m 21s
Artifacts 13

ci-workflow.yml

on: pull_request
should_run
8s
should_run
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
all-clear
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 22 notices
lint (lts/*): api.js#L1550
The type 'getTraceMetadata' is undefined
lint (lts/*): api.js#L1904
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L124
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L173
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L205
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L311
Missing JSDoc @returns declaration
lint (lts/*): lib/agent.js#L210
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L221
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L231
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L242
'config' is already declared in the upper scope on line 158 column 16
unit (18.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (18.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (18.x): test/unit/serverless/aws-lambda.test.js#L1229
Removing listeners for beforeExit
unit (18.x): test/unit/serverless/aws-lambda.test.js#L1229
Re-adding listeners for beforeExit
unit (18.x)
Total Tests: 3276 Suites 📂: 0 Passed ✅: 3260 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 16 Duration 🕐: 66947.499ms
ci (lts/*)
Total Tests: 4 Suites 📂: 0 Passed ✅: 4 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 939.563ms
integration (18.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 572.493ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 131008.688ms
unit (20.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (20.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (20.x): test/unit/serverless/aws-lambda.test.js#L1229
Removing listeners for beforeExit
unit (20.x): test/unit/serverless/aws-lambda.test.js#L1229
Re-adding listeners for beforeExit
unit (20.x)
Total Tests: 3274 Suites 📂: 0 Passed ✅: 3255 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 16 Duration 🕐: 65392.566ms
unit (22.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (22.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (22.x): test/unit/serverless/aws-lambda.test.js#L1229
Removing listeners for beforeExit
unit (22.x): test/unit/serverless/aws-lambda.test.js#L1229
Re-adding listeners for beforeExit
unit (22.x)
Total Tests: 3274 Suites 📂: 0 Passed ✅: 3255 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 16 Duration 🕐: 74668.975ms
integration (22.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 480.776ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 166898.176ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 459.517ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 145354.945ms

Artifacts

Produced during runtime
Name Size
versioned-tests-20.x
142 KB