bazelbuild/bazel

Documentation reference shard_count heuristics

Open

#14,446 建立於 2021年12月19日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Java (4,465 fork)batch import
P3help wantedteam-Documentationtype: documentation (cleanup)

倉庫指標

Star
 (25,384 star)
PR 合併指標
 (平均合併 22天 20小時) (30 天內合併 77 個 PR)

描述

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?).

貢獻者指南