node/test/sequential
Trivikram Kamat 6f3587c773
test: deflake watch mode worker test
Trigger watch restarts by appending whitespace instead of rewriting
watched modules. This avoids transient empty or partial ESM dependency
contents while the restarted worker is loading.

Use a separate temporary directory for each subtest so concurrent
subtests do not share worker and dependency file names.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: openai:gpt-5.5
PR-URL: https://github.com/nodejs/node/pull/63384
Refs: https://github.com/nodejs/reliability/blob/main/reports/2026-05-17.md#jstest-failure
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-05-19 21:55:37 +02:00
..
sequential.status test: move sea tests into test/sea 2025-10-17 12:51:59 +02:00
test-async-wrap-getasyncid.js worker: add heap profile API 2025-09-23 12:41:47 +00:00
test-buffer-creation-regression.js
test-child-process-emfile.js
test-child-process-execsync.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-child-process-exit.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-child-process-pass-fd.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-cli-syntax-bad.js
test-cli-syntax-file-not-found.js
test-cli-syntax-good.js
test-cli-syntax-require.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cluster-inspect-brk.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cluster-net-listen-ipv6only-none.js
test-cluster-net-listen-ipv6only-rr.js
test-cluster-port-reuse-between-workers.js cluster: fix port reuse between cluster 2026-01-14 10:39:15 +00:00
test-cluster-send-handle-large-payload.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-cpu-prof-default.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-dir-absolute.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-dir-and-name.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-dir-relative.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-dir-worker.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-drained.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-exit.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-invalid-options.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-kill.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-name.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-cpu-prof-worker-argv.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-crypto-timing-safe-equal-fast.js crypto: fix argument validation in crypto.timingSafeEqual fast path 2025-11-03 22:18:51 +00:00
test-crypto-timing-safe-equal.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-debug-prompt.js
test-debugger-custom-port.js test: update startCLI to set --port=0 by default 2025-07-20 17:37:28 +00:00
test-debugger-debug-brk.js
test-debugger-invalid-args.js test: update startCLI to set --port=0 by default 2025-07-20 17:37:28 +00:00
test-debugger-launch.mjs test: forbid use of named imports for fixtures 2026-01-01 23:48:26 +00:00
test-debugger-pid.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-deprecation-flags.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-dgram-bind-shared-ports.js
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-diagnostic-dir-cpu-prof.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-diagnostic-dir-heap-prof.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-error-serdes.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-fs-opendir-recursive.js test: ensure assertions are reached on more tests 2025-11-11 09:56:18 +00:00
test-fs-readdir-recursive.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-fs-stat-sync-overflow.js
test-fs-watch.js
test-gc-http-client-onerror.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-gc-http-client-timeout.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-gc-http-client.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-get-heapsnapshot-options.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-heapdump-flag-custom-dir.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-heapdump-flag.js
test-heapdump.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http-econnrefused.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http-keep-alive-large-write.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http-keepalive-maxsockets.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http-regr-gh-2928.js
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http-server-request-timeouts-mixed.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http2-large-file.js
test-http2-max-session-memory.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http2-ping-flood.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-http2-settings-flood.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-http2-timeout-large-write-file.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-http2-timeout-large-write.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-https-connect-localport.js
test-https-server-keep-alive-timeout.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-init.js
test-inspector-network-resource.js test: make test-inspector-network-resource sequential 2025-07-28 13:29:23 +00:00
test-inspector-open-dispose.mjs test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-inspector-port-cluster.js test: enforce better never-settling-promise detection 2025-12-10 23:55:36 +00:00
test-module-loading.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-net-better-error-messages-port.js
test-net-connect-econnrefused.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-net-connect-handle-econnrefused.js
test-net-connect-local-error.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-net-GH-5504.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-net-listen-shared-ports.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-net-localport.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-net-reconnect-error.js
test-net-response-size.js
test-net-server-address.js
test-net-server-bind.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-net-server-listen-ipv6-link-local.js
test-next-tick-error-spin.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-perf-hooks.js test: fix incorrect calculation in test-perf-hooks.js 2025-10-18 12:21:44 +00:00
test-performance-eventloopdelay.js test: relax min assertion in test-performance-eventloopdelay 2026-05-19 14:08:25 +02:00
test-pipe.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-process-title.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-process-warnings.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-repl-timeout-throw.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-require-cache-without-stat.js test: forbid use of named imports for fixtures 2026-01-01 23:48:26 +00:00
test-resolution-inspect-brk.js
test-runner-run-inspect.mjs tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-stream2-fs.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-stream2-stderr-sync.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-timers-block-eventloop.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-timers-set-interval-excludes-callback-duration.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-tls-connect.js test: update tls/crypto behaviour expectations when using BoringSSL 2026-05-19 21:38:38 +02:00
test-tls-lookup.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-tls-psk-client.js test: update tls/crypto behaviour expectations when using BoringSSL 2026-05-19 21:38:38 +02:00
test-tls-session-timeout.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-util-debug.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-vm-break-on-sigint.js
test-vm-timeout-escape-promise-module-2.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-vm-timeout-rethrow.js
test-watch-mode-inspect.mjs test: fix flaky test-watch-mode-inspect timeout 2026-05-19 14:08:25 +02:00
test-watch-mode-restart-esm-loading-error.mjs test: fix race condition in watch mode tests 2026-02-03 15:46:31 +00:00
test-watch-mode-watch-flags.mjs tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-watch-mode-worker.mjs test: deflake watch mode worker test 2026-05-19 21:55:37 +02:00
test-watch-mode.mjs src: allow empty --experimental-config-file 2026-05-05 16:19:28 +02:00
test-without-async-context-frame.mjs test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-worker-eventlooputil.js test: ensure assertions are reachable in test/sequential 2025-10-29 16:29:39 +01:00
test-worker-fshandles-error-on-termination.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-worker-fshandles-open-close-on-termination.js
test-worker-heapsnapshot-options.js
test-worker-prof.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-write-heapsnapshot-options.js tools: enforce trailing commas in test/sequential 2025-12-03 14:17:37 +01:00
test-zlib-crc32-fast-api.js zlib: implement fast path for crc32 2025-09-14 00:39:58 +00:00
testcfg.py