fix: we can redirect disturbed request body if it's not going to be used #15508
Annotations
5 errors and 1 notice
Run tests:
test/redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:515:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:935:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:515:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:935:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
200 !== 301
at res.<computed> [as strictEqual] (/Users/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:52:35)
at TestContext.<anonymous> (/Users/runner/work/undici/undici/test/redirect-request.js:515:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:935:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:633:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
}
}
|
Run tests:
test/redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { code: 'ERR_TEST_FAILURE', failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms' }
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1031
Suites 📂: 78
Passed ✅: 1022
Failed ❌: 3
Canceled 🚫: 1
Skipped ⏭️: 5
Todo 📝: 0
Duration 🕐: 51532.228ms
|
Loading