From 344e195c60731f18529dacd35b478afb9dbeddf1 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 27 Jun 2013 14:55:47 -0700 Subject: chore(build): temporarily add more logging to debug flakiness on CI --- karma-e2e.conf.js | 2 +- lib/grunt/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karma-e2e.conf.js b/karma-e2e.conf.js index d70d8522..49f93040 100644 --- a/karma-e2e.conf.js +++ b/karma-e2e.conf.js @@ -4,7 +4,7 @@ files = ['build/angular-scenario.js', ANGULAR_SCENARIO_ADAPTER, 'build/docs/docs autoWatch = false; singleRun = true; -logLevel = LOG_INFO; +logLevel = LOG_DEBUG; logColors = true; browsers = ['Chrome']; diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 38533f27..1696c226 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -45,7 +45,7 @@ module.exports = { p.stdout.pipe(process.stdout); p.stderr.pipe(process.stderr); p.on('exit', function(code){ - if(code !== 0) grunt.fail.warn("Test(s) failed"); + if(code !== 0) grunt.fail.warn("Karma test(s) failed. Exit code: " + code); done(); }); }, -- cgit v1.2.3