From 92d1ca964586ebb74497792e5ab417f735dd625b Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Fri, 31 May 2019 20:27:37 -0400 Subject: [PATCH] test: fail `test-worker-prof` on internal timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport-PR-URL: https://github.com/nodejs/node/pull/28005 PR-URL: https://github.com/nodejs/node/pull/27375 Reviewed-By: Michaƫl Zasso Reviewed-By: Ujjwal Sharma Reviewed-By: Refael Ackermann Reviewed-By: Matteo Collina Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott --- test/parallel/test-worker-prof.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-worker-prof.js b/test/parallel/test-worker-prof.js index 07d62f1cc04e44..80596a76f94f66 100644 --- a/test/parallel/test-worker-prof.js +++ b/test/parallel/test-worker-prof.js @@ -50,7 +50,7 @@ if (process.argv[2] === 'child') { tmpdir.refresh(); const spawnResult = spawnSync( process.execPath, ['--prof', __filename, 'child'], - { cwd: tmpdir.path, encoding: 'utf8' }); + { cwd: tmpdir.path, encoding: 'utf8', timeout: 30_000 }); assert.strictEqual(spawnResult.stderr.toString(), '', `child exited with an error: \ ${util.inspect(spawnResult)}`);