Explorar o código

Fix Travis Sauce Tunnel Issues

Travis is failing because Sauce can't find the appropriate tunnelid.
This should fix that but setting the tunnel id to be the Travis
job number.
Solly Ross %!s(int64=11) %!d(string=hai) anos
pai
achega
f0e4548b16
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      karma.conf.js

+ 2 - 0
karma.conf.js

@@ -182,9 +182,11 @@ module.exports = function(config) {
   };
 
   if (useSauce) {
+    my_conf.captureTimeout = 0; // use SL timeout
     my_conf.sauceLabs = {
       testName: 'noVNC Tests (all)',
       startConnect: true,
+      tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER
     };
   }