Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Config option retryLimit cannot be set to 0 #179

Open
Xunem opened this issue Sep 10, 2020 · 2 comments
Open

Config option retryLimit cannot be set to 0 #179

Xunem opened this issue Sep 10, 2020 · 2 comments

Comments

@Xunem
Copy link

Xunem commented Sep 10, 2020

We are experiencing an issue with the karma-browserstack-launcher when using the retryLimit config option. We want to set the value to 0 which does not seem to work properly. Looking into the code I think this is due to the way the retryLimit is set within the launcher:

var retryLimit = bsConfig.retryLimit || 3

@shawnlobo96
Copy link

Hey @Xunem

Thanks for catching that. We have raised a PR to fix the same:

PR: #180

@SevenOutman
Copy link

A workaround is to pass retryLimit: '0' instead of 0 to cheat the || operator.

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

No branches or pull requests

3 participants