Skip to content

Commit e1dad2c

Browse files
committed
test: fix postmortem metadata test
Recent changes to spawnSync (nodejs#23027) broke our V8 postmortem tests since the output from nm was larger than the new default maxBuffer for spawnSync. Changing the maxBuffer to Infinity fixes the issue.
1 parent 827ded9 commit e1dad2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/v8-updates/test-postmortem-metadata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (common.isAIX)
2121
if (common.isOpenBSD)
2222
common.skip('no v8 debug symbols on OpenBSD');
2323

24-
const nm = spawnSync('nm', args);
24+
const nm = spawnSync('nm', args, { maxBuffer: Infinity });
2525

2626
if (nm.error && nm.error.errno === 'ENOENT')
2727
common.skip('nm not found on system');

0 commit comments

Comments
 (0)