node/test/async-hooks
Anna Henningsen 82c43aed16
tls_wrap: use DoTryWrite()
Use `DoTryWrite()` to write data to the underlying socket.
This does probably not make any difference in performance
because the callback is still deferred (for now), but
brings TLSWrap in line with other things that write to
streams.

PR-URL: https://github.com/nodejs/node/pull/18676
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-02-14 10:00:26 +01:00
..
coverage.md test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
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: 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 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 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 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: deprecate undocumented API 2017-11-20 12:03:06 +01:00
test-emit-init.js async_hooks: deprecate undocumented API 2017-11-20 12:03:06 +01: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.fsreq-readFile.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
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 async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
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 async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.tcp.js test: remove common.PORT from parallel tests 2017-12-05 00:07:27 -08: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: 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 async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-internal-nexttick-default-trigger.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00
test-net-get-connections.js async-hooks,net: ensure asyncId=null if no handle 2017-07-05 15:51:08 +02:00
test-no-assert-when-disabled.js async_hooks: remove deprecated API 2017-11-22 11:25:03 +01:00
test-pipeconnectwrap.js test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08: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 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 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: fix unreliable async-hooks/test-signalwrap 2017-12-25 12:16:45 -08:00
test-statwatcher.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
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 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: 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 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 tls_wrap: use DoTryWrite() 2018-02-14 10:00:26 +01:00
test-zlib.zlib-binding.deflate.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
testcfg.py test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
tick.js test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
verify-graph.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00