test: deflake watch mode tests · nodejs/node@aaa7a7a · GitHub
Skip to content

Commit aaa7a7a

Browse files
panvaaduh95
authored andcommitted
test: deflake watch mode tests
Use isolated directories for the NODE_OPTIONS watch paths to avoid recursively watching the repository's source and test trees. Allow a platform-scaled 10 seconds for startup and restarts. Remove the flaky markers for test-watch-mode and test-watch-mode-inspect. The inspector restart race was already fixed in f2aaf63. Signed-off-by: Filip Skokan <panva.ip@gmail.com> Assisted-by: Codex PR-URL: #66232 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 8e8c976 commit aaa7a7a

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎test/sequential/sequential.status‎

Lines changed: 0 additions & 3 deletions

‎test/sequential/test-watch-mode.mjs‎

Lines changed: 8 additions & 2 deletions

0 commit comments

Comments
 (0)