aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/versions/master/docs
diff options
context:
space:
mode:
Diffstat (limited to 'site/versions/master/docs')
-rw-r--r--site/versions/master/docs/test-encyclopedia.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/site/versions/master/docs/test-encyclopedia.html b/site/versions/master/docs/test-encyclopedia.html
index 6a9b0e85e9..76e326283b 100644
--- a/site/versions/master/docs/test-encyclopedia.html
+++ b/site/versions/master/docs/test-encyclopedia.html
@@ -334,7 +334,10 @@ resolve.</p>
<p>Tests are granted at least one CPU core. Others may be available but this
is not guaranteed. Other performance aspects of this core are not specified.
You can increase the reservation to a higher number of CPU cores by adding the
-tag "cpu:n" (where n is a positive number) to a test rule.</p>
+tag "cpu:n" (where n is a positive number) to a test rule. If a machine has
+less total CPU cores than requested, Bazel will still run the test. If a test
+uses sharding, each individual shard will reserve the number of CPU cores
+specified here.</p>
<p>Tests may create subprocesses, but not process groups or sessions.</p>