node/test/addons
Jithil P Ponnan d7c2572fe0 test: fix flakiness in worker*.test-free-called
The issue arises from the `getFreeCallCount()` function yielding the
initial value of 0. Upon instantiation of the `Worker` object, it
increments to 1. In the case of this flaky test, if the creation of the
`Worker` object is faster, the subsequent `getFreeCallCount()` call
always returns 1 instead of the expected 0.

Fixes: https://github.com/nodejs/node/issues/51003
PR-URL: https://github.com/nodejs/node/pull/51013
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-01-02 15:05:23 -03:00
..
async-cleanup-hook
async-hello-world test: use uv_sleep() where possible 2022-10-27 17:13:50 +00:00
async-hooks-id test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
async-resource test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
buffer-free-callback
callback-scope test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
cppgc-object src,tools: initialize cppgc 2023-08-11 00:43:51 +00:00
dlopen-ping-pong build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
errno-exception
force-context-aware
heap-profiler
hello-world
hello-world-function-export
load-long-path
make-callback
make-callback-domain-warning
make-callback-recurse
new-isolate-addon src: fix creating Isolates from addons 2022-12-23 17:06:05 +00:00
new-target
no-addons src,process: add permission model 2023-02-23 18:11:51 +00:00
node-module-version
non-node-context test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
not-a-binding
null-buffer-neuter
openssl-binding build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
openssl-client-cert-engine test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
openssl-key-engine test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
openssl-providers build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
openssl-test-engine
parse-encoding test: add more cases for parse-encoding 2022-09-06 06:20:16 +00:00
register-signal-handler
repl-domain-abort test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
report-api report: disable js stack when no context is entered 2023-06-21 13:58:15 +00:00
report-fatalerror test: fix -Wunused-variable on report-fatalerror 2022-12-08 00:00:45 +00:00
request-interrupt src: expose environment RequestInterrupt api 2022-09-01 17:01:00 +08:00
stringbytes-external-exceed-max test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
symlinked-module test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
uv-handle-leak
worker-addon test: add trailing commas in addons test (#45548) 2022-11-21 18:40:12 +01:00
worker-buffer-callback test: fix flakiness in worker*.test-free-called 2024-01-02 15:05:23 -03:00
zlib-binding build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
.gitignore
addons.status test: skip some binding tests on IBMi PASE 2022-10-02 22:41:21 +00:00
common.gypi build,test: add proper support for IBM i 2023-02-22 04:18:56 +00:00
testcfg.py