summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-05-24 14:26:04 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-06-04 13:47:11 +0200
commit7b62c8274bea6b55a36b425b670a341c8093de08 (patch)
treecafda424598ad1465aa803bacbce17685813b865 /test
parent8493611969aa8d52d3a1e8fc55d1ff7486ba7c7d (diff)
downloadjustbuild-7b62c8274bea6b55a36b425b670a341c8093de08.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_msg_factory.test.cpp5
1 files changed, 4 insertions, 1 deletions
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
}