Skip to content

Commit 92d1ca9

Browse files
refacktargos
authored andcommitted
test: fail test-worker-prof on internal timeout
Backport-PR-URL: #28005 PR-URL: #27375 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
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)