-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
<any_browser_here> process gets killed forcibly after 2000 ms #2447
<any_browser_here> process gets killed forcibly after 2000 ms #2447
Comments
@maksimr Is it okay if I try to submit a pull request for this issue? (Thinking aloud) --> I need to setup a provision for a new property in karma config to read the SIGKILL timeout. Let the default value be the current default value but when the user sets this value to some number in milliseconds, we need to honor that by waiting that many milliseconds before a forced SIGKILL. Will this work? |
@vivganes sure
sounds good! Thanks! |
@vivganes thanks for taking a peek at it. |
Expected behaviour
The behaviour as to when to kill the browser should be configurable. There is a hardcoded value in karma/lib/launchers/process.js which is
var killTimeout = 2000
Actual behaviour
Since the value is not configurable the browser gets killed after 2s. If there's something running within the browser (e.g. when using karma-coverage and istanbul works on a large number of files), it gets killed.
Environment Details
karma --version
): 1.3.0karma.config.js
file: not availableSteps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: