bazelbuild/bazel

Documentation reference shard_count heuristics

Open

#14,446 opened on 2021年12月19日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Java (4,465 forks)batch import
P3help wantedteam-Documentationtype: documentation (cleanup)

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (平均マージ 22d 20h) (30d で 77 merged PRs)

説明

The documentation for shard_count says:

This value will override any heuristics used to determine the number of parallel shards with which to run the test. Note that for some test rules, this parameter may be required to enable sharding in the first place. Also see --test_sharding_strategy.

But the docs also say the only permitted values for --test_sharding_strategy are explicit and disabled. In other words, Bazel never shards a test that doesn't specify shard_count.

The reference to heuristics appears to be vestigial (or future?).

コントリビューターガイド