diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index 7430d5ea66e..6ad39e37f94 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -35,8 +35,6 @@ test-snapshot-reproducible: SKIP test-repl-user-error-handler: PASS, FLAKY [$system==win32] -# https://github.com/nodejs/node/issues/55154#issuecomment-5423571475 -test-runner-coverage: PASS, FLAKY # https://github.com/nodejs/node/issues/59090 test-inspector-network-fetch: PASS, FLAKY # https://github.com/nodejs/node/issues/59636 @@ -53,8 +51,6 @@ test-performance-function: PASS, FLAKY test-esm-loader-hooks-inspect-wait: PASS, FLAKY [$system==linux && $arch==s390x] -# https://github.com/nodejs/node/issues/55154#issuecomment-5423571475 -test-runner-coverage: PASS, FLAKY # https://github.com/nodejs/node/issues/58353 test-http2-debug: PASS, FLAKY @@ -116,8 +112,6 @@ test-fs-watch-ignore-mixed: SKIP test-fs-watch-ignore-regexp: SKIP [$system==aix] -# https://github.com/nodejs/node/issues/55154#issuecomment-5423571475 -test-runner-coverage: PASS, FLAKY # https://github.com/nodejs/node/issues/54346 test-esm-loader-hooks-inspect-wait: PASS, FLAKY # https://github.com/nodejs/node/issues/65697 diff --git a/test/parallel/test-runner-coverage.js b/test/parallel/test-runner-coverage.js index 542078c93d5..8e87b0a6092 100644 --- a/test/parallel/test-runner-coverage.js +++ b/test/parallel/test-runner-coverage.js @@ -116,6 +116,8 @@ test('test coverage report', async (t) => { test('test tap coverage reporter', skipIfNoInspector, async (t) => { await t.test('coverage is reported and dumped to NODE_V8_COVERAGE if present', (t) => { + // A dump left here would match the negative checks below on pid reuse. + t.after(() => tmpdir.refresh()); const fixture = fixtures.path('test-runner', 'coverage.js'); const args = [ '--experimental-test-coverage', @@ -154,6 +156,8 @@ test('test tap coverage reporter', skipIfNoInspector, async (t) => { test('test spec coverage reporter', skipIfNoInspector, async (t) => { await t.test('coverage is reported and dumped to NODE_V8_COVERAGE if present', (t) => { + // A dump left here would match the negative checks below on pid reuse. + t.after(() => tmpdir.refresh()); const fixture = fixtures.path('test-runner', 'coverage.js'); const args = [ '--experimental-test-coverage',