You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(config): wait 20s for browser activity. (#3087)
On low-horsepower CI systems karma frequently times out waiting for phantomjs. We see this
in our Travis-CI runs. Users also see it:
karma-runner/karma-phantomjs-launcher#126.
Copy file name to clipboardExpand all lines: docs/config/01-configuration-file.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ a flaky network link between the Karma server and the browsers.
156
156
## browserNoActivityTimeout
157
157
**Type:** Number
158
158
159
-
**Default:**`10000`
159
+
**Default:**`20000`
160
160
161
161
**Description:** How long will Karma wait for a message from a browser before disconnecting from it (in ms).
162
162
@@ -581,7 +581,7 @@ Note: Using `'https:'` requires you to specify `httpsServerOptions`.
581
581
582
582
**Description:** Module used for Karma webserver.
583
583
584
-
Uses the provided module instead of node's built in `http` or `https` module. The module loaded here must exactly match the interface of node's http module. This can be useful for loading in a module like `node-http2` to allow for http2 support.
584
+
Uses the provided module instead of node's built in `http` or `https` module. The module loaded here must exactly match the interface of node's http module. This can be useful for loading in a module like `node-http2` to allow for http2 support.
585
585
586
586
Note: if you're using this to enable `http2` you must also set the `protocol` to `https:` and specify certificates as http2 can only run of https.
0 commit comments