Skip to content

fs: fixes recursive fs.watch crash on Linux when deleting files #49638

fs: fixes recursive fs.watch crash on Linux when deleting files

fs: fixes recursive fs.watch crash on Linux when deleting files #49638

Triggered via pull request April 11, 2024 09:47
Status Failure
Total duration 51m 10s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
test-macOS: test/parallel/test-fs-watch-recursive-delete.js#L15
--- stderr --- /Users/runner/work/node/node/test/parallel/test-fs-watch-recursive-delete.js:15 if (fs.readDirSync(tmpdir.resolve('./parent')).length === 0) { ^ TypeError: fs.readDirSync is not a function at FSWatcher.<anonymous> (/Users/runner/work/node/node/test/parallel/test-fs-watch-recursive-delete.js:15:10) at FSWatcher.<anonymous> (/Users/runner/work/node/node/test/common/index.js:473:15) at FSWatcher.emit (node:events:520:28) at FSWatcher._handle.onchange (node:internal/fs/watchers:215:12) Node.js v22.0.0-pre Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-fs-watch-recursive-delete.js
test-macOS
Process completed with exit code 2.