node/test/node-api
Tobias Nießen 556e95ad8f
test: add test for effect of UV_THREADPOOL_SIZE
This (not particularly elegant) native addon tests the effect of
UV_THREADPOOL_SIZE on node-api. The test fails if Node.js allows more
than UV_THREADPOOL_SIZE async tasks to run concurrently, or if it limits
the number of concurrent async tasks to anything less than
UV_THREADPOOL_SIZE.

PR-URL: https://github.com/nodejs/node/pull/49165
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2023-08-16 13:49:44 +00:00
..
1_hello_world
test_async test: fix assertion message in test_async.c 2023-08-15 11:55:34 +00:00
test_async_cleanup_hook node-api: verify cleanup hooks order 2023-03-15 00:57:25 +08:00
test_async_context test: add trailing commas in test/node-api 2023-01-29 20:01:09 +01:00
test_buffer
test_callback_scope test: add trailing commas in test/node-api 2023-01-29 20:01:09 +01:00
test_cleanup_hook node-api: verify cleanup hooks order 2023-03-15 00:57:25 +08:00
test_env_teardown_gc
test_exception
test_fatal
test_fatal_exception
test_general node-api: define version 9 2023-06-02 09:50:26 +00:00
test_init_order
test_instance_data
test_make_callback
test_make_callback_recurse
test_null_init node-api: deprecate napi_module_register 2023-03-24 14:00:40 -04:00
test_policy test: add trailing commas in test/node-api 2023-01-29 20:01:09 +01:00
test_reference_by_node_api_version node-api: implement external strings 2023-06-13 21:54:03 -07:00
test_threadsafe_function test: add trailing commas in test/node-api 2023-01-29 20:01:09 +01:00
test_uv_loop
test_uv_threadpool_size test: add test for effect of UV_THREADPOOL_SIZE 2023-08-16 13:49:44 +00:00
test_worker_buffer_callback src: throw DataCloneError on transfering untransferable objects 2023-05-05 11:22:42 +00:00
test_worker_terminate process,worker: ensure code after exit() effectless 2022-12-25 09:54:12 +00:00
test_worker_terminate_finalization
.gitignore
node-api.status
testcfg.py