karma conf: prevent timeouts on Travis CI

Increase the timeout values to prevent DISCONNECTED errors when
running the tests on slow machines (e.g. Travis CI).
This commit is contained in:
Miroslav Bajtoš 2015-03-03 09:47:49 +01:00
parent 774c70903e
commit 19519b038b
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ module.exports = function(config) {
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 60000,
// to avoid DISCONNECTED messages
browserDisconnectTimeout : 10000, // default 2000
browserDisconnectTolerance : 1, // default 0
browserNoActivityTimeout : 60000, //default 10000
// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun: false,