test: deflake test-run-watch-cwd-isolation-none-* - #66035
Conversation
68dce3d to
cd6f523
Compare
test-run-watch-cwd-isolation-none-*
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #66035 +/- ##
==========================================
+ Coverage 90.27% 90.28% +0.01%
==========================================
Files 790 790
Lines 271642 271642
Branches 51840 51843 +3
==========================================
+ Hits 245214 245252 +38
+ Misses 16939 16887 -52
- Partials 9489 9503 +14 🚀 New features to boost your workflow:
|
|
Drop the |
Humpf failure on Windows |
|
I don't have a win-arm64 machine, and I wasn't able to reproduce to x86: > python.exe .\tools\test.py --shell=../v27.0.0-nightly2026090729667e046b/win-x64/node.exe --repeat 9999 test/test-runner/test-run-watch-cwd-isolation-none.mjs test/test-runner/test-run-watch-cwd-isolation-none-argv.mjs
[17:27|% 100|+ 19998|- 0]: DoneI guess I'll mark it as flaky on that platform and move on |
|
This pull request has conflicts with its base branch, removing the |
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
b2e7b65 to
c5f7178
Compare
|
Landed in ebef774 |
Windows directory watchers report last-access time updates. Reading cold fixtures in the child can therefore trigger test:watch:restarted before it exits, failing the mustNotCall assertion without printing the error. Read the fixtures before starting watch mode and remove the Windows flaky expectation. With old access times and a delayed child exit, the original fails 10/10 runs and the change passes 100/100 on Windows. Also remove the argv variant's stale flaky expectation. It passes repeated local Windows runs and the inspected CI history after #66035. Refs: #66056 Refs: #66035 Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66320 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Before this PR, on my machine:
With this PR:
Refs: #66056