From 8ee25f5ac4b1ecda1d5ce262fc48ad0c0e03a308 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Wed, 20 Dec 2023 16:52:23 +0100 Subject: 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. --- test/utils/remote_execution/bazel_action_creator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/utils/remote_execution/bazel_action_creator.hpp') 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(action_id); } return nullptr; -- cgit v1.2.3