node/test/async-hooks
Anna Henningsen c4fc1ff295
test: fix flaky async-hooks/test-zlib.zlib-binding.deflate
Previously, the typed arrays used in this test would not
automatically be kept alive by the native handle when
it’s using them, so the V8 garbage collector could collect
them while they are still in use by the zlib module,
leading to memory corruption.

Fixes: https://github.com/nodejs/node/issues/20907

PR-URL: https://github.com/nodejs/node/pull/21077
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-06-06 10:31:28 +02:00
..
async-hooks.status test: mark test-zlib.zlib-binding.deflate as flaky 2018-05-24 13:18:56 -04:00
coverage.md
hook-checks.js test: add test for async hooks parity for async/await 2018-05-14 19:20:38 +02:00
init-hooks.js test: add test for async hooks parity for async/await 2018-05-14 19:20:38 +02:00
test-async-await.js test: add test for async hooks parity for async/await 2018-05-14 19:20:38 +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: 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: 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 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-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 async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
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 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.setInterval.js timers: call destroy on interval error 2018-04-17 10:47:28 -07: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 test,benchmark: use new Buffer API where appropriate 2018-03-04 12:50:15 +01:00
test-udpwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
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-06 10:31:28 +02:00
testcfg.py
tick.js
verify-graph.js test: fix spelling in test case comments 2018-01-11 16:49:38 +01:00