test: fix recursive fs.watch error fixture - #65683
Conversation
Use a child directory so recursive watcher setup always creates a second watch. Linux no longer watches regular files after the directory watcher optimization. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex
|
Fast-track has been requested by @panva. Please 👍 to approve. |
|
We've got enough passes from CI and fast track approvals to call this a fix. |
Use a child directory so recursive watcher setup always creates a second watch. Linux no longer watches regular files after the directory watcher optimization. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: #65683 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
|
Landed in a844473 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #65683 +/- ##
=======================================
Coverage 90.06% 90.07%
=======================================
Files 754 754
Lines 256360 256369 +9
Branches 48486 48494 +8
=======================================
+ Hits 230891 230913 +22
- Misses 16584 16597 +13
+ Partials 8885 8859 -26 🚀 New features to boost your workflow:
|
|
https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix72-power9/64916/ appears to be a separate failure specific to AIX, i have no time to look into it now, @aduh95 @jasnell can you maybe take a look? or someone else |
Use a child directory so recursive watcher setup always creates a second watch. Linux no longer watches regular files after the directory watcher optimization. Signed-off-by: Filip Skokan <[email protected]> Assisted-by: Codex PR-URL: #65683 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
The test introduced in #65635 was invalidated by #65486, both landed independently. This fixes a consistent test failure on main.