diff --git a/test/sequential/sequential.status b/test/sequential/sequential.status index e7f8640d621c08..07fbc03ae3faec 100644 --- a/test/sequential/sequential.status +++ b/test/sequential/sequential.status @@ -9,8 +9,6 @@ prefix sequential test-cpu-prof-dir-worker: PASS, FLAKY [$system==win32] -# https://github.com/nodejs/node/issues/26401 -test-worker-prof: PASS, FLAKY [$system==linux] @@ -31,5 +29,3 @@ test-buffer-creation-regression: SKIP test-perf-hooks: SKIP [$arch==arm] -# https://github.com/nodejs/node/issues/26401#issuecomment-613095719 -test-worker-prof: PASS, FLAKY diff --git a/test/sequential/test-worker-prof.js b/test/sequential/test-worker-prof.js index f89ff962ff785d..54c027bc407db4 100644 --- a/test/sequential/test-worker-prof.js +++ b/test/sequential/test-worker-prof.js @@ -49,9 +49,10 @@ if (process.argv[2] === 'child') { w.postMessage(process.execPath); } else { tmpdir.refresh(); + const timeout = common.platformTimeout(60_000); const spawnResult = spawnSync( process.execPath, ['--prof', __filename, 'child'], - { cwd: tmpdir.path, encoding: 'utf8', timeout: 30_000 }); + { cwd: tmpdir.path, encoding: 'utf8', timeout }); assert.strictEqual(spawnResult.stderr.toString(), '', `child exited with an error: \ ${util.inspect(spawnResult)}`);