summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/bazel_action_creator.hpp
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2023-12-20 16:52:23 +0100
committerAlberto Sartori <alberto.sartori@huawei.com>2023-12-21 10:11:11 +0100
commit8ee25f5ac4b1ecda1d5ce262fc48ad0c0e03a308 (patch)
treec54faf42ee85909dc4459ce6bdc6e44cddce33b4 /test/utils/remote_execution/bazel_action_creator.hpp
parent6c8230f3e3f48c7d02d7f885eeadfefe8545839f (diff)
downloadjustbuild-8ee25f5ac4b1ecda1d5ce262fc48ad0c0e03a308.tar.gz
BazelCasClient::DoUploadBlobs: returns the count of the uploaded blobs...
...instead of the vector containing the digests of the uploaded blobs. The returned vector was never inspected by the callers, except for its size. The tests have been accordingly amended.
Diffstat (limited to 'test/utils/remote_execution/bazel_action_creator.hpp')
-rw-r--r--test/utils/remote_execution/bazel_action_creator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/remote_execution/bazel_action_creator.hpp b/test/utils/remote_execution/bazel_action_creator.hpp
index 0ee251c8..1fdc86c2 100644
--- a/test/utils/remote_execution/bazel_action_creator.hpp
+++ b/test/utils/remote_execution/bazel_action_creator.hpp
@@ -79,8 +79,8 @@
BazelCasClient cas_client(info->host, info->port);
- if (cas_client.BatchUpdateBlobs(instance_name, blobs.begin(), blobs.end())
- .size() == blobs.size()) {
+ if (cas_client.BatchUpdateBlobs(
+ instance_name, blobs.begin(), blobs.end()) == blobs.size()) {
return std::make_unique<bazel_re::Digest>(action_id);
}
return nullptr;