node/test/sequential
Gabriel Bota f737a79073
async_hooks,inspector: implement inspector api without async_wrap
Implementing the inspector session object as an async resource causes
unwanted context change when a breakpoint callback function is being
called. Modelling the inspector api without the AsyncWrap base class
ensures that the callback has access to the AsyncLocalStorage instance
that is active in the affected user function.

See `test-inspector-async-context-brk.js` for an illustration of the
use case.

PR-URL: https://github.com/nodejs/node/pull/51501
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2025-03-19 16:03:51 +00:00
..
sequential.status test: mark test-perf-hooks as flaky on macOS 2025-02-12 14:46:03 +01:00
test-async-wrap-getasyncid.js async_hooks,inspector: implement inspector api without async_wrap 2025-03-19 16:03:51 +00:00
test-buffer-creation-regression.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-child-process-emfile.js
test-child-process-execsync.js test: raise sleep times in child process tests 2022-09-05 11:32:56 -03:00
test-child-process-exit.js
test-child-process-pass-fd.js test: only skip slow tests on Raspberry Pi devices 2022-04-12 14:19:36 -04:00
test-cli-syntax-bad.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-file-not-found.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cli-syntax-good.js lib: fix checking syntax of esm module 2021-12-19 23:33:34 +00:00
test-cli-syntax-require.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-cluster-inspect-brk.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-none.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-net-listen-ipv6only-rr.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cluster-send-handle-large-payload.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-cpu-prof-default.js
test-cpu-prof-dir-absolute.js
test-cpu-prof-dir-and-name.js
test-cpu-prof-dir-relative.js
test-cpu-prof-dir-worker.js
test-cpu-prof-drained.js
test-cpu-prof-exit.js
test-cpu-prof-invalid-options.js src: fix c++ exception on bad command line arg 2023-03-04 23:03:29 -05:00
test-cpu-prof-kill.js
test-cpu-prof-name.js
test-cpu-prof-worker-argv.js
test-crypto-timing-safe-equal.js doc,test: clarify timingSafeEqual semantics 2022-07-12 07:41:35 +02:00
test-debug-prompt.js
test-debugger-custom-port.js test: modify test-debugger-custom-port.js to use async-await 2022-10-05 11:52:57 +01:00
test-debugger-debug-brk.js
test-debugger-invalid-args.js test: use async/await in test-debugger-invalid-args 2022-09-26 19:07:48 -03:00
test-debugger-launch.mjs test: use --port=0 in debugger tests that do not have to work on 9229 2023-07-07 00:06:02 +03:00
test-debugger-pid.js test: convert test-debugger-pid to async/await 2023-01-03 08:38:33 -05:00
test-deprecation-flags.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-dgram-bind-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-dgram-implicit-bind-failure.js
test-dgram-pingpong.js
test-diagnostic-dir-cpu-prof.js
test-diagnostic-dir-heap-prof.js test: avoid deep comparisons with literals 2021-11-02 10:11:49 +00:00
test-fs-opendir-recursive.js fs: add recursive option to readdir and opendir 2023-07-07 00:06:07 +03:00
test-fs-readdir-recursive.js fs: fix readdir recursive sync & callback 2023-10-28 10:48:25 +02:00
test-fs-stat-sync-overflow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-fs-watch.js test: fix flaky sequential/test-fs-watch 2020-11-27 05:00:33 -08:00
test-gc-http-client-onerror.js test: use os.availableParallelism() 2023-01-31 08:04:18 -05:00
test-gc-http-client-timeout.js test: refactor test-gc-http-client-timeout 2023-08-29 17:17:50 -04:00
test-gc-http-client.js test: use os.availableParallelism() 2023-01-31 08:04:18 -05:00
test-heapdump-flag.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-heapdump.js v8: make v8.writeHeapSnapshot() error codes consistent 2022-04-05 14:55:51 +01:00
test-http-econnrefused.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-http-keep-alive-large-write.js
test-http-keepalive-maxsockets.js
test-http-max-sockets.js
test-http-regr-gh-2928.js test: reduce the number of requests and parsers 2024-04-17 12:07:31 +00:00
test-http-server-keep-alive-timeout-slow-client-headers.js
test-http-server-keep-alive-timeout-slow-server.js
test-http2-large-file.js
test-http2-max-session-memory.js
test-http2-ping-flood.js
test-http2-settings-flood.js
test-http2-timeout-large-write-file.js
test-http2-timeout-large-write.js
test-https-connect-localport.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-https-server-keep-alive-timeout.js
test-init.js
test-inspector-port-cluster.js test: prepare for consistent comma-dangle lint rule 2021-04-01 23:14:29 -07:00
test-module-loading.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-net-better-error-messages-port.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-connect-econnrefused.js process: add getActiveResourcesInfo() 2021-12-14 14:09:08 +00:00
test-net-connect-handle-econnrefused.js net: remove redundant connecting assignment 2022-07-12 07:41:56 +02:00
test-net-connect-local-error.js dns: default to verbatim=true in dns.lookup() 2021-09-12 21:05:35 +02:00
test-net-GH-5504.js
test-net-listen-shared-ports.js lib,src: update cluster to use Parent 2021-01-05 15:41:45 -05:00
test-net-localport.js
test-net-reconnect-error.js
test-net-response-size.js test: enable no-empty ESLint rule 2022-02-05 12:58:32 +00:00
test-net-server-address.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 21:28:47 -04:00
test-net-server-bind.js dns: accept 'IPv4' and 'IPv6' for family 2022-06-15 21:28:47 -04:00
test-next-tick-error-spin.js
test-perf-hooks.js test: deflake test-perf-hooks.js 2025-02-10 18:25:29 +01:00
test-performance-eventloopdelay.js perf_hooks: fix loop delay resolution validation 2021-04-11 23:15:47 +02:00
test-pipe.js
test-process-title.js
test-process-warnings.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-repl-timeout-throw.js
test-require-cache-without-stat.js
test-resolution-inspect-brk.js
test-runner-run-inspect.mjs test_runner: support using --inspect with --test 2022-10-04 11:28:56 +01:00
test-stream2-fs.js
test-stream2-stderr-sync.js test,doc,lib: adjust object literal newlines for lint rule 2021-01-26 16:49:18 -08:00
test-timers-block-eventloop.js
test-timers-set-interval-excludes-callback-duration.js
test-tls-connect.js
test-tls-lookup.js test: remove unnecessary noop function args to mustCall() 2023-01-03 08:38:14 -05:00
test-tls-psk-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-04-10 22:18:18 -04:00
test-tls-securepair-client.js test: fallback to IPv4 if IPv6 is unavailable 2023-04-10 22:18:18 -04:00
test-tls-session-timeout.js
test-util-debug.js
test-vm-break-on-sigint.js test: move test-vm-break-on-sigint to sequential 2022-08-22 19:37:19 -04:00
test-vm-timeout-escape-promise-module-2.js test: fix flaky test-vm-timeout-escape-promise-module-2 2021-03-22 09:47:05 -07:00
test-vm-timeout-rethrow.js test: use assert.match instead of regexp.test 2021-08-31 18:50:16 +02:00
test-watch-mode-inspect.mjs test: fix flaky test-watch-mode-inspect 2023-07-07 00:06:02 +03:00
test-watch-mode.mjs test: fix some assumptions in tests 2023-11-23 10:44:13 +01:00
test-worker-eventlooputil.js test: move test-worker-eventlooputil to sequential 2020-11-12 20:26:49 +00:00
test-worker-fshandles-error-on-termination.js test: move tests with many workers to sequential 2022-08-22 19:37:19 -04:00
test-worker-fshandles-open-close-on-termination.js test: move tests with many workers to sequential 2022-08-22 19:37:19 -04:00
test-worker-prof.js test: fix flaky test-worker-prof 2021-02-20 10:40:49 -08:00
testcfg.py