test: add test for effect of UV_THREADPOOL_SIZE by tniessen · Pull Request #49165 · nodejs/node

@tniessen added test

Issues and PRs related to the tests.

libuv

Issues and PRs related to the libuv dependency or the uv binding.

node-api

Issues and PRs related to the Node-API.

labels

Aug 14, 2023

@tniessen

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.

@tniessen tniessen added the c++

Issues and PRs that require attention from people who are familiar with C++.

label

Aug 14, 2023

mhdawson

UlisesGascon pushed a commit that referenced this pull request

Sep 10, 2023
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: #49165
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>