summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_engine/executor
diff options
context:
space:
mode:
authorSascha Roloff <sascha.roloff@huawei.com>2022-08-29 11:58:04 +0200
committerSascha Roloff <sascha.roloff@huawei.com>2022-09-12 17:28:57 +0200
commite51a6938e536d8bb7904d7c54eb729925fc08417 (patch)
treea2a7481b13d26330cb3d0e96063636754d8b0288 /test/buildtool/execution_engine/executor
parent2dc55144e21f878b9929021e0d698736b7b67d20 (diff)
downloadjustbuild-e51a6938e536d8bb7904d7c54eb729925fc08417.tar.gz
Introduced RetrieveToCas function in IExecutionApi to synchronize artifacts between different CASes
Diffstat (limited to 'test/buildtool/execution_engine/executor')
-rwxr-xr-xtest/buildtool/execution_engine/executor/executor.test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp
index 1a9b90b2..0ea030d0 100755
--- a/test/buildtool/execution_engine/executor/executor.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor.test.cpp
@@ -130,6 +130,11 @@ class TestApi : public IExecutionApi {
bool /*unused*/) noexcept -> bool final {
return false; // not needed by Executor
}
+ auto RetrieveToCas(std::vector<Artifact::ObjectInfo> const& artifacts_info,
+ gsl::not_null<IExecutionApi*> api) noexcept
+ -> bool final {
+ return false; // not needed by Executor
+ }
auto Upload(BlobContainer const& blobs, bool /*unused*/) noexcept
-> bool final {
return std::all_of(