Skip to content

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

chore: Migrate block of unit tests to node:test

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

Re-run triggered September 23, 2024 13:22
Status Success
Total duration 11m 40s
Artifacts 13

ci-workflow.yml

on: pull_request
should_run
9s
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
ci (lts/*)
Total Tests: 4 Suites 📂: 0 Passed ✅: 4 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 947.030ms
integration (18.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 576.531ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 133465.035ms
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: 3275 Suites 📂: 0 Passed ✅: 3259 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 16 Duration 🕐: 67454.185ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 456.089ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 141750.826ms
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: 3273 Suites 📂: 0 Passed ✅: 3254 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 16 Duration 🕐: 65552.635ms
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: 3273 Suites 📂: 0 Passed ✅: 3254 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 16 Duration 🕐: 72561.949ms
integration (22.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 501.150ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 174641.073ms

Artifacts

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