Skip to content

Commit f6d2f0e

Browse files
authored
1 parent a58fa45 commit f6d2f0e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/config/01-configuration-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ a flaky network link between the Karma server and the browsers.
156156
## browserNoActivityTimeout
157157
**Type:** Number
158158

159-
**Default:** `20000`
159+
**Default:** `30000`
160160

161161
**Description:** How long will Karma wait for a message from a browser before disconnecting from it (in ms).
162162

163-
If, during test execution, Karma does not receive any message from a browser within `browserNoActivityTimeout`(ms), it will disconnect from the browser.
163+
If, during test execution, Karma does not receive any message from a browser within `browserNoActivityTimeout`(ms), it will disconnect from the browser. The default is the one recommended by Travis (https://docs.travis-ci.com/user/gui-and-headless-browsers/#karma-and-firefox-inactivity-timeouts)
164164

165165

166166
## browsers

lib/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class Config {
343343
}
344344
this.browserDisconnectTimeout = 2000
345345
this.browserDisconnectTolerance = 0
346-
this.browserNoActivityTimeout = 20000
346+
this.browserNoActivityTimeout = 30000
347347
this.processKillTimeout = 2000
348348
this.concurrency = Infinity
349349
this.failOnEmptyTestSuite = true

0 commit comments

Comments
 (0)