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 2930bd1317
src: refactor timers to remove TimerWrap
Refactor Timers to behave more similarly to Immediates by having
a single uv_timer_t handle which is stored on the Environment.

No longer expose timers in a public binding and instead make
it part of the internalBinding.

PR-URL: https://github.com/nodejs/node/pull/20894
Fixes: https://github.com/nodejs/node/issues/10154
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
2018-06-24 21:35:05 -07:00
..
async-hooks.status test: unmark test-zlib.zlib-binding.deflate flaky 2018-06-03 15:33:29 +02:00
coverage.md src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
hook-checks.js test: add test for async hooks parity for async/await 2018-05-14 16:25:50 +02:00
init-hooks.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-async-await.js test: add test for async hooks parity for async/await 2018-05-14 16:25:50 +02:00
test-callback-error.js src,doc,test: Fix common misspellings 2018-01-16 23:44:27 +01:00
test-crypto-pbkdf2.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-crypto-randomBytes.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
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: 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 test,tools: enable running tests under workers 2018-06-06 19:44:11 +02: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,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-enable-in-init.js
test-fseventwrap.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-fsreqwrap-access.js
test-fsreqwrap-readFile.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-getaddrinforeqwrap.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-getnameinforeqwrap.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-graph.fsreq-readFile.js
test-graph.http.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test-graph.intervals.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test-graph.pipe.js
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,tools: enable running tests under workers 2018-06-06 19:44:11 +02: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 src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test-graph.tls-write.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
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 test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-pipeconnectwrap.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
test-pipewrap.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-promise.chain-promise-before-init-hooks.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-promise.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
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,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-statwatcher.js test: improve statwatcher async_hooks test 2018-06-14 13:19:07 +02:00
test-tcpwrap.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08:00
test-timers.setInterval.js timers: reschedule interval even if it threw 2018-04-29 16:51:05 +02:00
test-timers.setTimeout.js timers: async track unref timers 2018-02-08 09:01:54 -05:00
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 test: fix flaky async-hooks/test-zlib.zlib-binding.deflate 2018-06-02 16:07:16 +02:00
testcfg.py
tick.js
verify-graph.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00