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
async-hooks-id
async-resource
buffer-free-callback
callback-scope
cppgc-object src,tools: initialize cppgc 2023-08-11 00:43:51 +00:00
dlopen-ping-pong
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
new-target
no-addons
node-module-version
non-node-context
not-a-binding
null-buffer-neuter
openssl-binding
openssl-client-cert-engine
openssl-key-engine
openssl-providers
openssl-test-engine
parse-encoding
register-signal-handler
repl-domain-abort
report-api report: disable js stack when no context is entered 2023-06-21 13:58:15 +00:00
report-fatalerror
request-interrupt
stringbytes-external-exceed-max
symlinked-module test: use tmpdir.resolve() 2023-08-21 16:41:53 +00:00
uv-handle-leak
worker-addon
worker-buffer-callback test: fix flakiness in worker*.test-free-called 2024-01-02 15:05:23 -03:00
zlib-binding
.gitignore
addons.status
common.gypi
testcfg.py