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

test_runner: add shards support #48639

Merged
merged 18 commits into from
Jul 5, 2023
Merged
Prev Previous commit
Next Next commit
remove comment
  • Loading branch information
rluvaton committed Jul 3, 2023
commit 51f769706df6e83f2c5de9a8dc3263abe039069f
1 change: 0 additions & 1 deletion lib/internal/test_runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ function run(options) {
validateObject(shards, 'options.shards');
validateNumber(shards.total, 'options.shards.total', 1);
validateNumber(shards.index, 'options.shards.index');
// validateNumber(shards.index, 'options.shards.index', 1, shards.total);

if (shards.index <= 0 || shards.total < shards.index) {
throw new ERR_OUT_OF_RANGE('options.shards.index', `>= 1 && <= ${shards.total} ("options.shards.total")`, shards.index);
Expand Down
Loading