changeset 247:c64e2518bae5

Increase timeout lengths and retry counts for Karma unit test runner Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-October/025387.html
author Andrew Azores <aazores@redhat.com>
date Fri, 13 Oct 2017 14:17:45 -0400
parents 1ad5abbce4fc
children 70b4d54655af
files karma.conf.js
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/karma.conf.js	Fri Oct 13 14:17:39 2017 -0400
+++ b/karma.conf.js	Fri Oct 13 14:17:45 2017 -0400
@@ -63,6 +63,18 @@
 
     port: 9876,
 
+    singleRun: true,
+
+    captureTimeout: 60000, // one minute
+
+    browserDisconnectTimeout: 60000,
+
+    browserDisconnectTolerance: 3,
+
+    browserNoActivityTimeout: 60000,
+
+    retryLimit: 3,
+
     colors: true,
 
     browsers: ['PhantomJS'],
@@ -75,8 +87,6 @@
 
     webpackMiddleware: {
       noInfo: 'errors-only'
-    },
-
-    singleRun: true
+    }
   });
 };