commit | 02182709ee33b0e4878ef33db07c2d483ab2ea5c | [log] [tgz] |
---|---|---|
author | Dan Halperin <dhalperi@users.noreply.github.com> | Wed Oct 14 20:58:08 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 14 20:59:17 2020 -0700 |
tree | c4377d25339d9d5485c10d3edcbe861b72dfc167 | |
parent | 9d2946440a43c2adc6b3cdf09739a6dbf5e29abf [diff] |
TestTargetProperties: fix typo in cpu reservation This is just a comment fix, but as I was looking through the code to see how this tag is implemented, the difference between this comment and the [documented syntax](https://docs.bazel.build/versions/master/test-encyclopedia.html#other-resources) confused me. Closes #12243. PiperOrigin-RevId: 337231628
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/test/TestTargetProperties.java b/src/main/java/com/google/devtools/build/lib/analysis/test/TestTargetProperties.java index 84274ec..0456ef0 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/test/TestTargetProperties.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/test/TestTargetProperties.java
@@ -165,7 +165,7 @@ ResourceSet testResourcesFromSize = TestTargetProperties.getResourceSetFromSize(size); - // Tests can override their CPU reservation with a "cpus:<n>" tag. + // Tests can override their CPU reservation with a "cpu:<n>" tag. ResourceSet testResourcesFromTag = null; for (String tag : executionInfo.keySet()) { try {