Skip to content

test: parallel/test-fs-watch-recursive-delete fails on IBM i #52640

Description

@abmusse

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

08:14:17 not ok 1263 parallel/test-fs-watch-recursive-delete
08:14:17   ---
08:14:17   duration_ms: 2243.99100
08:14:17   severity: fail
08:14:17   exitcode: 1
08:14:17   stack: |-
08:14:17     Mismatched <anonymous> function calls. Expected at least 1, actual 0.
08:14:17         at Proxy.mustCallAtLeast (/home/IOJS/build/workspace/node-test-commit-ibmi/nodes/ibmi73-ppc64/test/common/index.js:439:10)
08:14:17         at Object.<anonymous> (/home/IOJS/build/workspace/node-test-commit-ibmi/nodes/ibmi73-ppc64/test/parallel/test-fs-watch-recursive-delete.js:18:29)
08:14:17         at Module._compile (node:internal/modules/cjs/loader:1476:14)
08:14:17         at Module._extensions..js (node:internal/modules/cjs/loader:1555:10)
08:14:17         at Module.load (node:internal/modules/cjs/loader:1288:32)
08:14:17         at Module._load (node:internal/modules/cjs/loader:1104:12)
08:14:17         at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:191:14)
08:14:17         at node:internal/main/run_main_module:30:49
08:14:17   ...

fs.watch is not supported on IBM i therefore it makes sense that this test case fails.

const watcher = fs.watch(toWatch, { recursive: true }, onFileUpdate);

We should skip this test on IBM i like we do for the other fs.watch test cases.

if (common.isIBMi)
common.skip('IBMi does not support `fs.watch()`');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ibm iIssues and PRs related to the IBM i platform.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions