node/test/async-hooks
Trivikram Kamat 503bee4b43
test: deflake async-hooks statwatcher test
Wait for the initial missing-file poll before writing watched files.
Otherwise uv_fs_poll can observe the created file as its baseline and
never emit the expected change event.

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/63396
Refs: https://github.com/nodejs/reliability/blob/main/reports/2026-05-15.md#jstest-failure
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2026-06-18 21:12:34 +01:00
..
async-hooks.status test: aix: mark test-emit-on-destroyed as flaky 2026-01-27 22:52:25 +01:00
coverage.md
hook-checks.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
init-hooks.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-async-await.js
test-async-exec-resource-http-32060.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-exec-resource-http-agent.js test: add http agent to executionAsyncResource 2024-05-11 10:45:09 +02:00
test-async-exec-resource-http.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-exec-resource-match.js
test-async-local-storage-args.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-async-await.js
test-async-local-storage-async-functions.js
test-async-local-storage-dgram.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-enable-disable.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-enter-with.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-errors.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-async-local-storage-gcable.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-http-agent.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-http.js test: ensure assertions are reached on more tests 2026-01-19 19:18:57 +01:00
test-async-local-storage-misc-stores.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-nested.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-no-mix-contexts.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-promises.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-async-local-storage-socket.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-stream-finished.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-local-storage-thenable.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-async-local-storage-tlssocket.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-async-wrap-providers.js
test-callback-error.js test: add escapePOSIXShell util 2024-09-29 20:44:52 +00:00
test-crypto-pbkdf2.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-crypto-randomBytes.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-destroy-not-blocked.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-disable-in-init.js
test-embedder.api.async-resource-no-type.js
test-embedder.api.async-resource.js
test-embedder.api.async-resource.runInAsyncScope.js
test-emit-after-on-destroyed.js test: improve flakiness detection on stack corruption tests 2025-06-08 19:32:15 +02:00
test-emit-before-after.js
test-emit-before-on-destroyed.js
test-emit-init.js
test-enable-disable.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-enable-in-init.js
test-filehandle-no-reuse.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-fseventwrap.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-fsreqcallback-access.js
test-fsreqcallback-readFile.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-getaddrinforeqwrap.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-getnameinforeqwrap.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-graph.fsreq-readFile.js
test-graph.http.js
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js
test-graph.shutdown.js
test-graph.signal.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-graph.statwatcher.js
test-graph.tcp.js
test-graph.timeouts.js
test-graph.tls-write-12.js
test-graph.tls-write.js
test-http-agent-handle-reuse-parallel.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-http-agent-handle-reuse-serial.js
test-httpparser-reuse.js
test-httpparser.request.js
test-httpparser.response.js
test-immediate.js
test-improper-order.js test: deflake async-hooks/test-improper-order on AIX 2025-06-16 08:51:09 +02:00
test-improper-unwind.js test: improve flakiness detection on stack corruption tests 2025-06-08 19:32:15 +02:00
test-late-hook-enable.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00
test-net-get-connections.js
test-nexttick-default-trigger.js
test-no-assert-when-disabled.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-pipeconnectwrap.js
test-pipewrap.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-promise.chain-promise-before-init-hooks.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-promise.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-promise.promise-before-init-hooks.js test: enforce better never-settling-promise detection 2026-02-22 23:16:09 +01:00
test-querywrap.js
test-queue-microtask.js
test-shutdownwrap.js
test-signalwrap.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-statwatcher.js test: deflake async-hooks statwatcher test 2026-06-18 21:12:34 +01:00
test-tcpwrap.js
test-timers.setInterval.js
test-timers.setTimeout.js
test-tlswrap.js
test-track-promises-default.js async_hooks: add trackPromises option to createHook() 2026-02-22 23:16:12 +01:00
test-track-promises-false-check.js async_hooks: add trackPromises option to createHook() 2026-02-22 23:16:12 +01:00
test-track-promises-false.js async_hooks: add trackPromises option to createHook() 2026-02-22 23:16:12 +01:00
test-track-promises-true.js async_hooks: add trackPromises option to createHook() 2026-02-22 23:16:12 +01:00
test-track-promises-validation.js async_hooks: add trackPromises option to createHook() 2026-02-22 23:16:12 +01:00
test-ttywrap.readstream.js
test-udpsendwrap.js
test-udpwrap.js
test-unhandled-exception-valid-ids.js
test-unhandled-rejection-context.js test: rely less on duplicative common test harness utilities 2025-01-25 07:23:09 +00:00
test-writewrap.js
test-zlib.zlib-binding.deflate.js
testcfg.py
verify-graph.js test: ensure assertions are reachable in test/async-hooks 2025-11-12 00:15:32 +01:00