0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/async-hooks
Anatoli Papirovski 4d074343dd
async_hooks,process: remove internalNextTick
Instead of having mostly duplicate code in form of internalNextTick,
instead use the existing defaultAsyncTriggerIdScope with a slight
modification which allows undefined triggerAsyncId to be passed in,
which then just triggers the callback with the provided arguments.

PR-URL: https://github.com/nodejs/node/pull/19147
Refs: https://github.com/nodejs/node/issues/19104
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-03-08 13:23:44 +01:00
..
coverage.md
hook-checks.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
init-hooks.js async_hooks: replace concat w template literals 2017-10-12 06:26:51 -07:00
test-callback-error.js src,doc,test: Fix common misspellings 2018-01-16 23:44:27 +01:00
test-crypto-pbkdf2.js
test-crypto-randomBytes.js
test-disable-in-init.js test: remove unused function args 2017-08-24 15:29:22 -07:00
test-embedder.api.async-resource-no-type.js async_hooks,doc: some async_hooks improvements 2017-09-15 09:06:13 -07:00
test-embedder.api.async-resource.after-on-destroyed.js
test-embedder.api.async-resource.before-on-destroyed.js
test-embedder.api.async-resource.improper-order.js
test-embedder.api.async-resource.improper-unwind.js
test-embedder.api.async-resource.js test: replace assert.throws w/ common.expectsError 2017-12-11 18:21:58 -05:00
test-embedder.api.async-resource.runInAsyncScope.js async_hooks: deprecate unsafe emit{Before,After} 2018-02-09 13:03:34 -08:00
test-emit-before-after.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
test-emit-init.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
test-enable-disable.js
test-enable-in-init.js async_hooks: fix nested hooks mutation 2017-07-13 11:59:18 +02:00
test-fseventwrap.js
test-fsreqwrap-access.js
test-fsreqwrap-readFile.js
test-getaddrinforeqwrap.js
test-getnameinforeqwrap.js
test-graph.fsreq-readFile.js
test-graph.http.js async_hooks,test: only use IPv6 in http test 2018-01-14 12:31:56 -05:00
test-graph.intervals.js
test-graph.pipe.js test: remove unused param in test-graph.pipe 2017-08-29 16:31:45 -03:00
test-graph.pipeconnect.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-graph.shutdown.js async_wrap: add provider types for net server 2017-11-28 02:50:54 +01:00
test-graph.signal.js test: fix flaky async-hooks/test-graph.signal 2017-12-08 11:34:42 -08:00
test-graph.statwatcher.js
test-graph.tcp.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-graph.timeouts.js
test-graph.tls-write.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-httpparser.request.js test: refactor async-hooks/test-httparser tests 2017-08-16 12:06:47 +02:00
test-httpparser.response.js test: refactor async-hooks/test-httparser tests 2017-08-16 12:06:47 +02:00
test-immediate.js
test-net-get-connections.js async-hooks,net: ensure asyncId=null if no handle 2017-07-05 15:51:08 +02:00
test-nexttick-default-trigger.js async_hooks,process: remove internalNextTick 2018-03-08 13:23:44 +01:00
test-no-assert-when-disabled.js async_hooks,process: remove internalNextTick 2018-03-08 13:23:44 +01:00
test-pipeconnectwrap.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-pipewrap.js child_process: fix stdio sockets creation 2018-02-16 19:11:03 +01:00
test-promise.chain-promise-before-init-hooks.js test: use common.crashOnUnhandledRejection 2017-11-22 12:07:33 -08:00
test-promise.js test: use common.crashOnUnhandledRejection 2017-11-22 15:57:31 -08:00
test-promise.promise-before-init-hooks.js test: show incorrect value on test failure 2017-11-07 09:47:55 +00:00
test-querywrap.js
test-shutdownwrap.js net: use _final instead of on('finish') 2018-02-21 20:42:18 +01:00
test-signalwrap.js test: fix unreliable async-hooks/test-signalwrap 2017-12-25 12:16:45 -08:00
test-statwatcher.js
test-tcpwrap.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-timers.setTimeout.js timers: async track unref timers 2018-02-08 09:01:54 -05:00
test-timerwrap.setInterval.js
test-timerwrap.setTimeout.js
test-tlswrap.js test: fix flaky async-hooks/test-tlswrap 2017-10-04 23:53:11 -07:00
test-ttywrap.readstream.js test,async_hooks: skip whether TTY is available 2017-07-12 14:44:41 -04:00
test-ttywrap.writestream.js test,async_hooks: match test-ttywrap.readstream 2017-07-12 14:44:43 -04:00
test-udpsendwrap.js test,benchmark: use new Buffer API where appropriate 2018-03-04 12:50:15 +01:00
test-udpwrap.js
test-writewrap.js test: make sure WriteWrap tests are actually async 2018-02-14 10:00:26 +01:00
test-zlib.zlib-binding.deflate.js
testcfg.py
tick.js
verify-graph.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00