Skip to content

Commit

Permalink
chore(ci): use recommended timeouts for browserstack (karma-runner#3475)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton authored and anthony-redFox committed May 5, 2023
1 parent 306ddad commit 0d3675c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/client/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ module.exports = function (config) {

customLaunchers: launchers,

// If browser does not capture in given timeout [ms], kill it
// CLI --capture-timeout 5000
captureTimeout: 50000,
// Recommeneded browserstack timeouts
// https://github.com/karma-runner/karma-browserstack-launcher/issues/61
captureTimeout: 3e5,
browserDisconnectTolerance: 3,
browserDisconnectTimeout: 3e5,
browserSocketTimeout: 1.2e5,
browserNoActivityTimeout: 3e5,

// Auto run tests on start (when browsers are captured) and exit
// CLI --single-run --no-single-run
Expand Down

0 comments on commit 0d3675c

Please sign in to comment.