diff --git a/test/async-hooks/async-hooks.status b/test/async-hooks/async-hooks.status index d3010612280638..e540645e544a88 100644 --- a/test/async-hooks/async-hooks.status +++ b/test/async-hooks/async-hooks.status @@ -13,8 +13,6 @@ test-statwatcher: PASS,FLAKY [$system==linux] # https://github.com/nodejs/node/issues/21425 test-statwatcher: PASS,FLAKY -# https://github.com/nodejs/node/issues/15985 -test-callback-error: PASS,FLAKY [$system==macos] diff --git a/test/async-hooks/test-callback-error.js b/test/async-hooks/test-callback-error.js index 450f34bee1021a..07ed274342fd06 100644 --- a/test/async-hooks/test-callback-error.js +++ b/test/async-hooks/test-callback-error.js @@ -58,10 +58,6 @@ assert.ok(!arg); { console.log('start case 3'); console.time('end case 3'); - // Timeout is set because this case is known to be problematic, so stderr is - // logged for further analysis. - // Ref: https://github.com/nodejs/node/issues/13527 - // Ref: https://github.com/nodejs/node/pull/13559 const opts = { execArgv: ['--abort-on-uncaught-exception'], silent: true @@ -78,15 +74,7 @@ assert.ok(!arg); stderr += data; }); - const tO = setTimeout(() => { - console.log(stderr); - child.kill('SIGKILL'); - process.exit(1); - }, 15 * 1000); - tO.unref(); - child.on('close', (code, signal) => { - clearTimeout(tO); if (common.isWindows) { assert.strictEqual(code, 134); assert.strictEqual(signal, null);