Skip to content

Commit

Permalink
test: fail test-worker-prof on internal timeout
Browse files Browse the repository at this point in the history
Backport-PR-URL: #28005
PR-URL: #27375
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
refack authored and targos committed Jun 4, 2019
1 parent ab1a4eb commit 92d1ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-worker-prof.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
Expand Down

0 comments on commit 92d1ca9

Please sign in to comment.