Skip to content

test: parallel/test-fs-read-promises-position-validation fails on IBM i #50054

Description

@richardlau

https://ci.nodejs.org/job/node-test-commit-ibmi/nodes=ibmi73-ppc64/1316/consoleFull

09:20:12 not ok 1103 parallel/test-fs-read-promises-position-validation09:20:12 ---09:20:12 duration_ms: 1801.8240009:20:12 severity: fail09:20:12 exitcode: 109:20:12 stack: |-09:20:12 node:internal/process/esm_loader:4009:20:12 internalBinding('errors').triggerUncaughtException(09:20:12 ^09:20:12 09:20:12 [Error: EOVERFLOW: value too large for defined data type, read] {09:20:12 errno: -127,09:20:12 code: 'EOVERFLOW',09:20:12 syscall: 'read'09:20:12 }09:20:12 09:20:12 Node.js v21.0.0-pre09:20:12 ...

This test was introduced by #42835 last week.

Initial glance suggests it's an oversight:

awaittestValid(Number.MAX_SAFE_INTEGER,['EFBIG']);
awaittestValid(2n**63n-1n-BigInt(length),['EFBIG']);

compared to the non-promises test (test-fs-read-position-validation.mjs)

awaittestValid(Number.MAX_SAFE_INTEGER,['EFBIG','EOVERFLOW']);
awaittestValid(2n**63n-1n-BigInt(length),['EFBIG','EOVERFLOW']);

cc @nodejs/platform-ibmi

Metadata

Metadata

Assignees

No one assigned

    Labels

    ibm iIssues and PRs related to the IBM i platform.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions