summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/execution_api/bazel')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_network.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_network.test.cpp b/test/buildtool/execution_api/bazel/bazel_network.test.cpp
index 5444c5d5..50564163 100644
--- a/test/buildtool/execution_api/bazel/bazel_network.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_network.test.cpp
@@ -102,7 +102,7 @@ TEST_CASE("Bazel network: write/read blobs", "[execution_api]") {
std::vector<ArtifactDigest> to_read{
foo.digest, bar.digest, baz.digest, bar.digest, foo.digest};
std::vector<ArtifactBlob> blobs{};
- for (auto next : reader.ReadIncrementally(to_read)) {
+ for (auto next : reader.ReadIncrementally(&to_read)) {
blobs.insert(blobs.end(), next.begin(), next.end());
}
@@ -169,7 +169,7 @@ TEST_CASE("Bazel network: read blobs with unknown size", "[execution_api]") {
auto reader = network.CreateReader();
std::vector<ArtifactDigest> to_read{foo.digest, bar.digest};
std::vector<ArtifactBlob> blobs{};
- for (auto next : reader.ReadIncrementally(to_read)) {
+ for (auto next : reader.ReadIncrementally(&to_read)) {
blobs.insert(blobs.end(), next.begin(), next.end());
}