Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase browserSocketTimeout parameter for karma tests #367

Merged
merged 1 commit into from
Jan 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions karma.config.d/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module.exports = function(config) {
// default timeout 60_000, but looks like it is not enough for macOS on GitHub runner
// increasing the timeout should help to reduce number of failures
captureTimeout: 120_000,
// the default value is 20_000
krzema12 marked this conversation as resolved.
Show resolved Hide resolved
// according to the doc, the socket timeout can cause similar error as captureTimeout
// https://karma-runner.github.io/6.4/config/configuration-file.html#browsersockettimeout
browserSocketTimeout: 120_000,
});
};

Expand Down
Loading