0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/async-hooks
Gerhard Stoebich c145b29987
async_hooks: avoid resource reuse by FileHandle
Wrap reused read_wrap in a unique async resource to ensure that
executionAsyncResource() is not ambiguous.

PR-URL: https://github.com/nodejs/node/pull/31972
Refs: https://github.com/nodejs/node/pull/30959
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
2020-03-11 19:26:10 +01:00
..
async-hooks.status test: mark additional tests as flaky on Windows 2020-02-01 22:58:56 +01:00
coverage.md
hook-checks.js
init-hooks.js
test-async-await.js
test-async-exec-resource-http-32060.js src: pass resource object along with InternalMakeCallback 2020-03-04 17:20:57 -05:00
test-async-exec-resource-http.js async_hooks: add executionAsyncResource 2020-02-11 20:59:09 +01:00
test-async-exec-resource-match.js async_hooks: executionAsyncResource matches in hooks 2020-02-26 14:58:21 +01:00
test-async-local-storage-args.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-async-await.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-async-functions.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-enable-disable.js async_hooks: fix ctx loss after nested ALS calls 2020-03-06 14:07:07 -05:00
test-async-local-storage-enter-with.js async_hooks: add sync enterWith to ALS 2020-03-09 14:24:21 -04:00
test-async-local-storage-errors-async.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-errors-sync-ret.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-gcable.js test: add GC test for disabled AsyncLocalStorage 2020-03-02 18:17:22 -05:00
test-async-local-storage-http.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-misc-stores.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-nested.js async_hooks: fix ctx loss after nested ALS calls 2020-03-06 14:07:07 -05:00
test-async-local-storage-no-mix-contexts.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-async-local-storage-promises.js async_hooks: add store arg in AsyncLocalStorage 2020-02-27 15:00:23 -05:00
test-callback-error.js
test-crypto-pbkdf2.js
test-crypto-randomBytes.js
test-disable-in-init.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-embedder.api.async-resource-no-type.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-embedder.api.async-resource.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-embedder.api.async-resource.runInAsyncScope.js
test-emit-after-on-destroyed.js
test-emit-before-after.js async_hooks: remove internal only error checking 2020-01-11 19:20:45 -08:00
test-emit-before-on-destroyed.js
test-emit-init.js async_hooks: remove internal only error checking 2020-01-11 19:20:45 -08:00
test-enable-disable.js
test-enable-in-init.js
test-filehandle-no-reuse.js async_hooks: avoid resource reuse by FileHandle 2020-03-11 19:26:10 +01:00
test-fseventwrap.js test: skip the unsupported test cases for IBM i 2019-12-25 23:11:02 +01:00
test-fsreqcallback-access.js
test-fsreqcallback-readFile.js
test-getaddrinforeqwrap.js
test-getnameinforeqwrap.js
test-graph.fsreq-readFile.js
test-graph.http.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-graph.shutdown.js
test-graph.signal.js
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.js
test-httpparser-reuse.js
test-httpparser.request.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-httpparser.response.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-immediate.js
test-improper-order.js
test-improper-unwind.js
test-late-hook-enable.js
test-net-get-connections.js
test-nexttick-default-trigger.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-no-assert-when-disabled.js
test-pipeconnectwrap.js test: work around ENOTEMPTY when cleaning tmp dir 2019-12-12 14:37:05 -05:00
test-pipewrap.js
test-promise.chain-promise-before-init-hooks.js
test-promise.js
test-promise.promise-before-init-hooks.js
test-querywrap.js
test-queue-microtask.js test: use arrow functions in async-hooks tests 2019-12-02 20:03:17 +05:30
test-shutdownwrap.js
test-signalwrap.js
test-statwatcher.js test: unflake async hooks statwatcher test 2019-12-21 19:15:22 -08:00
test-tcpwrap.js
test-timers.setInterval.js
test-timers.setTimeout.js
test-tlswrap.js
test-ttywrap.readstream.js
test-udpsendwrap.js
test-udpwrap.js
test-writewrap.js
test-zlib.zlib-binding.deflate.js
testcfg.py
verify-graph.js