fix: we can redirect disturbed request body if it's not going to be used #15513
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
] {
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:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
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:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/redirect-request.js#L515
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
200 !== 301
] {
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:95:5)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 200,
expected: 301,
operator: 'strictEqual'
},
code: 'ERR_TEST_FAILURE'
}
|
Run tests:
test/redirect-request.js#L1
[Error [ERR_TEST_FAILURE]: test timed out after 30000ms] { failureType: 'testTimeoutFailure', cause: 'test timed out after 30000ms', code: 'ERR_TEST_FAILURE' }
|
Run tests
Process completed with exit code 1.
|
Run tests
Total Tests: 1031
Suites 📂: 78
Passed ✅: 1023
Failed ❌: 3
Canceled 🚫: 1
Skipped ⏭️: 4
Todo 📝: 0
Duration 🕐: 57572.427ms
|
Loading