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
test-abort-uncaught-exception.js
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-process-abort-exitcode.js
test-signal-handler.js
test-worker-abort-uncaught-exception.js
test-zlib-invalid-internals-usage.js
testcfg.py