test: skip node-api/test_worker_terminate_finalization

The test fails under ASAN/valgrind. Since it has not been working
properly until today anyway, skip it.

Refs: https://github.com/nodejs/node/issues/34731

PR-URL: https://github.com/nodejs/node/pull/34732
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
This commit is contained in:
Anna Henningsen committed 2020-09-22 19:55:25 +02:00
1 parent b28a6a57c4
commit 335b61ac74
1 file changed
+5
@@ -1,5 +1,10 @@
'use strict';
const common = require('../../common');
// TODO(addaleax): Run this test once it stops failing under ASAN/valgrind.
// Refs: https://github.com/nodejs/node/issues/34731
common.skip('Reference management in N-API leaks memory');
const { Worker, isMainThread } = require('worker_threads');
if (isMainThread) {