diff options
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rw-r--r-- | test/buildtool/execution_engine/executor/executor.test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 790e20ca..02836d07 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -176,8 +176,9 @@ class TestApi : public IExecutionApi { } auto Upload(BlobContainer const& blobs, bool /*unused*/) noexcept -> bool final { + auto blob_range = blobs.Blobs(); return std::all_of( - blobs.begin(), blobs.end(), [this](auto const& blob) { + blob_range.begin(), blob_range.end(), [this](auto const& blob) { return config_.artifacts[blob.data] .uploads // for local artifacts or config_.artifacts[blob.digest.hash()] |