0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/async-hooks
Andreas Madsen f94fd0c0f3
async_hooks: fix nested hooks mutation
In some cases restoreTmpHooks is called too early, this causes
active_hooks_array to change during execution of the init hooks.

PR-URL: https://github.com/nodejs/node/pull/14143
Ref: https://github.com/nodejs/node/pull/14054#issuecomment-313915193
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-07-13 11:59:18 +02:00
..
coverage.md
hook-checks.js
init-hooks.js async_hooks: fix default nextTick triggerAsyncId 2017-07-05 15:51:16 +02:00
test-callback-error.js async_hooks: use common emitBefore and emitAfter 2017-07-06 23:50:08 +02:00
test-connection.ssl.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-crypto-pbkdf2.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-crypto-randomBytes.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-disable-in-init.js async_hooks: fix nested hooks mutation 2017-07-13 11:59:18 +02:00
test-embedder.api.async-resource.after-on-destroyed.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.before-on-destroyed.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.improper-order.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.improper-unwind.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-emit-before-after.js async_hooks: use common emitBefore and emitAfter 2017-07-06 23:50:08 +02:00
test-emit-init.js async_hooks: fix default nextTick triggerAsyncId 2017-07-05 15:51:16 +02:00
test-enable-disable.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-enable-in-init.js async_hooks: fix nested hooks mutation 2017-07-13 11:59:18 +02:00
test-fseventwrap.js test: accommodate AIX by watching file 2017-06-20 07:47:46 -07:00
test-fsreqwrap-access.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-fsreqwrap-readFile.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-getaddrinforeqwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-getnameinforeqwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.connection.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-graph.fsreq-readFile.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.intervals.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.pipe.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.pipeconnect.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.shutdown.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-graph.signal.js test,async_hooks: stabilize tests on Windows 2017-07-01 22:02:39 -04:00
test-graph.statwatcher.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.tcp.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-graph.timeouts.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.tls-write.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-httpparser.request.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-httpparser.response.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-immediate.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-internal-nexttick-default-trigger.js async_hooks: fix default nextTick triggerAsyncId 2017-07-05 15:51:16 +02:00
test-net-get-connections.js async-hooks,net: ensure asyncId=null if no handle 2017-07-05 15:51:08 +02:00
test-pipeconnectwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-pipewrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-promise.chain-promise-before-init-hooks.js async_hooks: use parent promise as triggerId 2017-06-03 22:42:33 +02:00
test-promise.js src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00
test-promise.promise-before-init-hooks.js src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00
test-querywrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-shutdownwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-signalwrap.js test,async_hooks: stabilize tests on Windows 2017-07-01 22:02:39 -04:00
test-statwatcher.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-tcpwrap.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-timerwrap.setInterval.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-timerwrap.setTimeout.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-tlswrap.js test: simplify test skipping 2017-07-04 12:41:49 +03: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 src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00
test-udpwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-writewrap.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-zlib.zlib-binding.deflate.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
testcfg.py
tick.js
verify-graph.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00