-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
flaky-testIssues and PRs related to the tests with unstable failures on the CI.Issues and PRs related to the tests with unstable failures on the CI.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.
Description
After making the node-api/test_worker_terminate_finalization
complete run as expected in #34726, it starts failing under ASAN/valgrind because it leaks memory (the reference from napi_create_reference()
in the test is never freed).
I’ve tried to debug this for an hour, but got nowhere, so I’ll open a PR to just skip the test (shouldn’t exactly make things worse since the test hasn’t been working until today anyway).
/cc The only people who understand N-API reference lifetime management, aka @gabrielschulhof and maybe @mhdawson
jasnell, mmarchini and gengjiawen
Metadata
Metadata
Assignees
Labels
flaky-testIssues and PRs related to the tests with unstable failures on the CI.Issues and PRs related to the tests with unstable failures on the CI.memoryIssues and PRs related to the memory management or memory footprint.Issues and PRs related to the memory management or memory footprint.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.