|
@@ -58,10 +58,10 @@ var PhantomasWrapper = function() {
|
|
|
|
|
|
// Kill the application if nothing happens for 10 minutes
|
|
|
var killer = setTimeout(function() {
|
|
|
- debug('Killing the app because the test on ' + task.url + ' was launched 10 minutes ago');
|
|
|
+ debug('Killing the app because the test on %s was launched %d seconds ago', task.url, 3*options.timeout);
|
|
|
// If in server mode, forever will restart the server
|
|
|
process.exit(1);
|
|
|
- }, 600000);
|
|
|
+ }, 3*options.timeout*60*1000);
|
|
|
|
|
|
// It's time to launch the test!!!
|
|
|
var triesNumber = 2;
|