Skip to content

Commit 92d1ca9

Browse files
refacktargos
authored andcommitted
test: fail test-worker-prof on internal timeout
Backport-PR-URL: nodejs#28005 PR-URL: nodejs#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]>
1 parent ab1a4eb commit 92d1ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-worker-prof.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if (process.argv[2] === 'child') {
5050
tmpdir.refresh();
5151
const spawnResult = spawnSync(
5252
process.execPath, ['--prof', __filename, 'child'],
53-
{ cwd: tmpdir.path, encoding: 'utf8' });
53+
{ cwd: tmpdir.path, encoding: 'utf8', timeout: 30_000 });
5454
assert.strictEqual(spawnResult.stderr.toString(), '',
5555
`child exited with an error: \
5656
${util.inspect(spawnResult)}`);

0 commit comments

Comments
 (0)