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

feat(launcher): Add concurrency limit #1646

Merged
merged 1 commit into from
Oct 22, 2015

Conversation

dignifiedquire
Copy link
Member

Especially services like Browserstack and SauceLabs have limitations on
how many browsers
can be launched at the same time. The new config option concurrency
allows to
specify an upper limit of how many browsers are allowed to run at the
same time.

Ref: karma-runner/karma-sauce-launcher#40

Closes #1465

@dignifiedquire
Copy link
Member Author

cc @zzo @maksimr

@maksimr
Copy link
Contributor

maksimr commented Oct 21, 2015

LGTM

@GitCop
Copy link

GitCop commented Oct 21, 2015

There were the following issues with your Pull Request

  • Commit: 77b2a8c
    • Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at http://karma-runner.github.io/0.13/dev/git-commit-msg.html


This message was auto-generated by https://gitcop.com

@thom4parisot
Copy link
Contributor

Amazing feature!

Especially services like Browserstack and SauceLabs have limitations on
how many browsers
can be launched at the same time. The new config option `concurrency`
allows to
specify an upper limit of how many browsers are allowed to run at the
same time.

Ref: karma-runner/karma-sauce-launcher#40

Closes karma-runner#1465
@dignifiedquire
Copy link
Member Author

@zzo all done :)


// Concurrency level
// how many browser should be started simultanous
concurrency: Infinity

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Infinity!!!!

@zzo
Copy link
Contributor

zzo commented Oct 21, 2015

lgtm - merge away

@daviddias
Copy link

SWEEEET! :D This looks awesome! Will be super useful to test the WebRTC Web Applications

Great work!

dignifiedquire added a commit that referenced this pull request Oct 22, 2015
feat(launcher): Add concurrency limit
@dignifiedquire dignifiedquire merged commit e1e1fb6 into karma-runner:master Oct 22, 2015
@dignifiedquire dignifiedquire deleted the concurrent branch October 22, 2015 12:07
@JamesMGreene
Copy link

Excited to finally have this. Thanks!

@megawac
Copy link

megawac commented Oct 22, 2015

🍻 thanks! I attempted a similar patch last year but failed to get all the cases working

@JamesMGreene
Copy link

@dignifiedquire Any way to have Karma implicitly set the default (unset) value to match the user's max concurrency limit (retrieved via the REST API) rather than Infinity?

@dignifiedquire
Copy link
Member Author

I'm unclear what REST api you mean, karma does not have one.

@JamesMGreene
Copy link

Nevermind, I just noticed this ended up in Karma core rather than karma-sauce-launcher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants