Increase test timeout to try to prevent occasional spurious Travis-CI failures

This commit is contained in:
Dan Quirk 2014-07-25 17:01:01 -07:00
parent c1be793a04
commit 9e1db49485

View file

@ -367,7 +367,9 @@ task("runtests", ["tests", builtLocalDirectory], function() {
colors = colors ? ' --no-colors ' : ''
tests = tests ? ' -g ' + tests : '';
reporter = process.env.reporter || process.env.r || 'dot';
var cmd = host + " -R " + reporter + tests + colors + ' ' + run;
// timeout normally isn't necessary but Travis-CI has been timing out on compiler baselines occasionally
// default timeout is 2sec which really should be enough, but maybe we just need a small amount longer
var cmd = host + " -R " + reporter + tests + colors + ' --timeout 3000 ' + run;
console.log(cmd);
exec(cmd, deleteTemporaryProjectOutput);
}, {async: true});