Skip to content

[flaky] test/retry-handler2.js #5217

@trivikr

Description

@trivikr
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions