Skip to content

Commit

Permalink
Fixup shard index docs
Browse files Browse the repository at this point in the history
Closes #2547
  • Loading branch information
horenmar committed Oct 16, 2022
1 parent 95cd95e commit d8619f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/command-line.md
Expand Up @@ -548,7 +548,8 @@ starting at 0. The tests in the set given by
`--shard-index <#shard index to run>` will be executed. The default shard
count is `1`, and the default index to run is `0`.

_It is an error to specify a shard index greater than the number of shards._
_Shard index must be less than number of shards. As the name suggests,
it is treated as an index of the shard to run._

Sharding is useful when you want to split test execution across multiple
processes, as is done with the [Bazel test sharding](https://docs.bazel.build/versions/main/test-encyclopedia.html#test-sharding).
Expand Down

0 comments on commit d8619f0

Please sign in to comment.