0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/test/async-hooks
Anatoli Papirovski 4f2000f9fe
timers: call destroy on interval error
When an interval callback throws an error, the destroy
hook is never called due to a faulty if condition.

PR-URL: https://github.com/nodejs/node/pull/20001
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2018-04-17 16:05:11 +02:00
..
coverage.md
hook-checks.js
init-hooks.js
test-callback-error.js
test-crypto-pbkdf2.js
test-crypto-randomBytes.js
test-disable-in-init.js
test-embedder.api.async-resource-no-type.js
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-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
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
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js
test-graph.shutdown.js
test-graph.signal.js
test-graph.statwatcher.js
test-graph.tcp.js
test-graph.timeouts.js
test-graph.tls-write.js
test-httpparser.request.js
test-httpparser.response.js
test-immediate.js
test-net-get-connections.js
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-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-promise.js
test-promise.promise-before-init-hooks.js
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-statwatcher.js
test-tcpwrap.js
test-timers.setInterval.js timers: call destroy on interval error 2018-04-17 16:05:11 +02: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-ttywrap.readstream.js
test-ttywrap.writestream.js
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