From 9e1db49485f63814383800ce9a4066152e6fb26e Mon Sep 17 00:00:00 2001 From: Dan Quirk Date: Fri, 25 Jul 2014 17:01:01 -0700 Subject: [PATCH] Increase test timeout to try to prevent occasional spurious Travis-CI failures --- Jakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jakefile b/Jakefile index 160ae4f33c8..7a8ee59d532 100644 --- a/Jakefile +++ b/Jakefile @@ -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});