Skip to content

Commit

Permalink
test: bump --stack-size to stop child fails on ARM
Browse files Browse the repository at this point in the history
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 <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: #14
  • Loading branch information
rvagg committed Nov 29, 2014
1 parent e05dff1 commit e085211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/simple/test-child-process-fork-exec-argv.js
Expand Up @@ -31,7 +31,7 @@ if (process.argv[2] === 'fork') {
} else if (process.argv[2] === 'child') {
fork(__filename, ['fork']);
} else {
var execArgv = ['--harmony_proxies', '--stack-size=64'];
var execArgv = ['--harmony_proxies', '--stack-size=256'];
var args = [__filename, 'child', 'arg0'];

var child = spawn(process.execPath, execArgv.concat(args));
Expand Down
2 changes: 1 addition & 1 deletion test/simple/test-process-exec-argv.js
Expand Up @@ -25,7 +25,7 @@ var spawn = require('child_process').spawn;
if (process.argv[2] === 'child') {
process.stdout.write(JSON.stringify(process.execArgv));
} else {
var execArgv = ['--harmony_proxies', '--stack-size=64'];
var execArgv = ['--harmony_proxies', '--stack-size=256'];
var args = [__filename, 'child', 'arg0'];
var child = spawn(process.execPath, execArgv.concat(args));
var out = '';
Expand Down

0 comments on commit e085211

Please sign in to comment.