Skip to content

Commit e085211

Browse files
committed
test: bump --stack-size to stop child fails on ARM
On ARM, we get a "Maximum call stack size exceeded" when using require() in the child process, bump it up a bit to avoid the failures so we can test what we are actually after Reviewed-By: Fedor Indutny <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> PR-URL: #14
1 parent e05dff1 commit e085211

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/simple/test-child-process-fork-exec-argv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (process.argv[2] === 'fork') {
3131
} else if (process.argv[2] === 'child') {
3232
fork(__filename, ['fork']);
3333
} else {
34-
var execArgv = ['--harmony_proxies', '--stack-size=64'];
34+
var execArgv = ['--harmony_proxies', '--stack-size=256'];
3535
var args = [__filename, 'child', 'arg0'];
3636

3737
var child = spawn(process.execPath, execArgv.concat(args));

test/simple/test-process-exec-argv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var spawn = require('child_process').spawn;
2525
if (process.argv[2] === 'child') {
2626
process.stdout.write(JSON.stringify(process.execArgv));
2727
} else {
28-
var execArgv = ['--harmony_proxies', '--stack-size=64'];
28+
var execArgv = ['--harmony_proxies', '--stack-size=256'];
2929
var args = [__filename, 'child', 'arg0'];
3030
var child = spawn(process.execPath, execArgv.concat(args));
3131
var out = '';

0 commit comments

Comments
 (0)