node/test/node-api/test_uv_threadpool_size
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
..
binding.gyp test: add test for effect of UV_THREADPOOL_SIZE 2023-08-16 13:49:44 +00:00
test_uv_threadpool_size.c test: add test for effect of UV_THREADPOOL_SIZE 2023-08-16 13:49:44 +00:00
test.js test: add test for effect of UV_THREADPOOL_SIZE 2023-08-16 13:49:44 +00:00