Right now maxConcurrentTestRunners is deprecated and will be removed soon.
In optionsValidator we can see some checks being done for maxConcurrentTestRunners and assigning it to concurrency.
But
There is no check for concurrency. What values user can input? Any number? Shouldn't we make similar checks for it as well as it is for maxConcurrentTestRunners now?
Thanks for taking a look at the beta code! Appreciated.
Do you mean, no check on the max value of --concurrency? This is "by design" on my end. The reasoning behind it is that I don't want to limit users anymore. You might have a project that uses a lot of sleep or io operations. The default (n-1) should be fine for most projects.
The ConcurrencyTokenProvider will take care of deciding how many workers will be started for checkers and test runners.
Closing this issue for now. If you feel like this still needs to be addressed, let me know.