From 865fb412931de11ccf7bdd2dcb5c24eb2a9f57b1 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Thu, 10 Mar 2016 11:27:23 -0800 Subject: [PATCH] Lower coverage thresholds for system tests. The only lines not covered are not specifying a port at all when running juttle-engine (which doesn't match our use of getFreePort) and daemonizing, which we don't want to handle. --- gulpfile.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c66b45d..d802fa3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -49,7 +49,7 @@ function gulp_test() { tests.push('!test/examples/**/*.spec.js'); timeout = 20000; // 20s, test timeout slow = 15000; // 15s, slow warning - } else { + } else { // downloading and running docker containers can take a bit the first // time around timeout = 300000; // 5min, test timeout @@ -79,10 +79,10 @@ gulp.task('test-coverage', ['instrument'], function() { if (argv.sys) { thresholds = { global: { - statements: 97, - branches: 82, - functions: 100, - lines: 97 + statements: 95, + branches: 78, + functions: 97, + lines: 95 } }; } else {