Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
Disconnect timeout is too low for Karma.
Browse files Browse the repository at this point in the history
Increasing it should help with Travis not being able to run the
integration tests.
karma-runner/karma#598
  • Loading branch information
tswast committed Oct 10, 2016
1 parent f95828a commit 7c262ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vision/explore-api/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ module.exports = function (config) {

// Concurrency level
// how many browser should be started simultaneous
concurrency: Infinity
concurrency: Infinity,

// Increase timeouts for Travis to avoid disconnects.
// https://github.com/karma-runner/karma/issues/598
captureTimeout: 60000,
browserDisconnectTimeout: 10000,
browserDisconnectTolerance: 1,
browserNoActivityTimeout: 60000
});
};

0 comments on commit 7c262ca

Please sign in to comment.