karma-runner / karma-runner/karma

karma || karma-chrome-launcher Does Not Respect 'captureTimeout'

Open
#2,116 0 comments 2 reactions 0 assignees View on GitHub
help wanted needs: investigation
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Expected behavior

If Chrome is taking too long to launch, I am expecting that I can alter 'captureTimeout' to wait longer.

The default is suppose to be 60sec. but, karma retries ~500msecs.
### Actual behavior

05 05 2016 19:03:13.421:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
05 05 2016 19:03:**13.437**:INFO [launcher]: Starting browser Chrome w/o security.
05 05 2016 19:03:**14.042**:ERROR [launcher]: Cannot start Chrome

Just not waiting long enough.
### Enviroment Details

Windoze 7; slow box
- Karma version (output of `karma --version`): 0,13.22
- Relevant part of your `karma.config.js` file

```
captureTimeout: 120000,
retryLimit: 4,
browsers: ['Chromeage'],
customLaunchers: {
Chromeage: {
base: 'Chrome',
flags: ['--disable-web-security'],
displayName: 'Chrome w/o security.'
}
},
```

```
### Steps to reproduce the behaviour

1.
2.
3.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.