0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/abort
Anna Henningsen d1f4936fab src: improve checked uv loop close output
Addon developers may run into this when not closing libuv handles
inside Workers.

Previously, output may have included unhelpful statements such as
`uv loop at ... has 0 active handles`, which may sound like
everything’s supposed to be fine actually.

So, instead of printing the active handle count, print the total
handle count and mark active handles individually.

Also, fix the test for this to work properly and make sure that
parsing finishes properly.

PR-URL: https://github.com/nodejs/node/pull/30814
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2019-12-07 21:30:39 -08:00
..
test-abort-backtrace.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-abort-uncaught-exception.js vm: never abort on caught syntax error 2017-12-05 23:49:36 +01:00
test-addon-register-signal-handler.js test: add addon tests for RegisterSignalHandler() 2019-06-14 19:11:42 +02:00
test-addon-uv-handle-leak.js src: improve checked uv loop close output 2019-12-07 21:30:39 -08:00
test-http-parser-consume.js test: removed extraneous argument 's' 2018-11-08 21:41:29 -08:00
test-process-abort-exitcode.js test,process: run 'abort' suite on Windows 2017-09-03 17:20:20 -04:00
test-signal-handler.js src: reset SIGSEGV handler before crashing 2019-06-14 19:11:40 +02:00
test-worker-abort-uncaught-exception.js worker: ignore --abort-on-uncaught-exception for terminate() 2019-02-18 09:17:11 +01:00
test-zlib-invalid-internals-usage.js test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
testcfg.py