test at test/retry-handler2.js:1707:1
✖ Should use retry-after header for retries (date) but date format is wrong | throwOnError: false (1016.655157ms)
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert[method](...args)
at res.<computed> [as ok] (/home/runner/work/undici/undici/node_modules/@matteo.collina/tspl/tspl.js:58:35)
at Server.<anonymous> (/home/runner/work/undici/undici/test/retry-handler2.js:1739:11)
at Server.emit (node:events:509:20)
at parserOnIncoming (node:_http_server:1216:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Example: https://github.com/nodejs/undici/actions/runs/25400298764/job/74497751617?pr=5215