From 7b62c8274bea6b55a36b425b670a341c8093de08 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 24 May 2024 14:26:04 +0200 Subject: blob containers: Store and upload taking into account content size Update logic populating containers to use the new method which is aware of the maximum transfer limit. --- test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp b/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp index 0f9039d9..71dd67e3 100644 --- a/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp @@ -111,7 +111,10 @@ TEST_CASE("Bazel internals: MessageFactory", "[execution_api]") { } } }, - [&blobs](BazelBlob&& blob) { blobs.Emplace(std::move(blob)); })); + [&blobs](BazelBlob&& blob) { + blobs.Emplace(std::move(blob)); + return true; + })); // TODO(aehlig): also check total number of DirectoryNode blobs in container } -- cgit v1.2.3