Skip to content

Commit 8712edf

Browse files
committed
test: fix postmortem metadata test
Recent changes to spawnSync (#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. PR-URL: #27265 Refs: v8/v8@7.4.288.18...7.4.288.21 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 7f29117 commit 8712edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)