Skip to content

Commit

Permalink
test(Saucelabs): retry connects, longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jan 24, 2017
1 parent 6811cec commit 5dc483a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,16 @@ function addSauceTests (cfg) {
};
cfg.browsers = [env.BROWSER];

// See https://github.com/karma-runner/karma-sauce-launcher
// See https://github.com/bermi/sauce-connect-launcher#advanced-usage
cfg.sauceLabs = {
public: 'public',
startConnect: true
startConnect: true,
testName: 'mocha browser tests ' + env.BROWSER,
connectOptions: {
connectRetries: 3,
connectRetryTimeout: 20000
}
};

cfg.concurrency = 5;
Expand Down

0 comments on commit 5dc483a

Please sign in to comment.