diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-16 16:33:48 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-07-19 09:50:37 +0200 |
commit | f2af767908e42013664e30ec40c431c41a6895c1 (patch) | |
tree | 25c15b9f5633985116926820e2e8b33185431b78 /test/utils/remote_execution/bazel_action_creator.hpp | |
parent | 953fc900629dd2b04c509b4f953e75dd351e09d9 (diff) | |
download | justbuild-f2af767908e42013664e30ec40c431c41a6895c1.tar.gz |
Pass RetryConfig instance to BazelNetwork and bazel clients
Diffstat (limited to 'test/utils/remote_execution/bazel_action_creator.hpp')
-rw-r--r-- | test/utils/remote_execution/bazel_action_creator.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/utils/remote_execution/bazel_action_creator.hpp b/test/utils/remote_execution/bazel_action_creator.hpp index c7b24f2b..4a7be08b 100644 --- a/test/utils/remote_execution/bazel_action_creator.hpp +++ b/test/utils/remote_execution/bazel_action_creator.hpp @@ -25,6 +25,7 @@ #include "gsl/gsl" #include "src/buildtool/auth/authentication.hpp" #include "src/buildtool/common/bazel_types.hpp" +#include "src/buildtool/common/remote/retry_config.hpp" #include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp" #include "src/buildtool/execution_api/remote/config.hpp" @@ -94,7 +95,8 @@ BazelCasClient cas_client(remote_config->remote_address->host, remote_config->remote_address->port, - &*auth_config); + &*auth_config, + &RetryConfig::Instance()); std::vector<gsl::not_null<BazelBlob const*>> blob_ptrs; blob_ptrs.reserve(blobs.size()); |