Expected behavior
With a concurrency limit specified the concurrently run browsers should be limited to that value.
Actual behavior
When a browser passes one of the timeouts specified in the configuration below, that browser restarts. The next browser is also allowed to start, setting the amount of concurrent browsers to 2. Even though the concurrency limit is set to 1.
Environment Details
Karma 1.1.1
config.set({
...
concurrency: 1,
captureTimeout: 60000,
browserDisconnectTimeout: 60000,
browserDisconnectTolerance: 3,
browserNoActivityTimeout: 60000
});
Steps to reproduce the behaviour
- Use the above configuration
- Let a browser timeout
- Check the amount of active browsers
Expected behavior
With a concurrency limit specified the concurrently run browsers should be limited to that value.
Actual behavior
When a browser passes one of the timeouts specified in the configuration below, that browser restarts. The next browser is also allowed to start, setting the amount of concurrent browsers to 2. Even though the concurrency limit is set to 1.
Environment Details
Karma 1.1.1
Steps to reproduce the behaviour