Skip to content

The concurrency limit is passed when a timeout occurs and the browser restarts #2280

@SteveVanOpstal

Description

@SteveVanOpstal

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

  1. Use the above configuration
  2. Let a browser timeout
  3. Check the amount of active browsers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions