From f2af767908e42013664e30ec40c431c41a6895c1 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 16 Jul 2024 16:33:48 +0200 Subject: Pass RetryConfig instance to BazelNetwork and bazel clients --- test/utils/remote_execution/bazel_action_creator.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/utils/remote_execution/bazel_action_creator.hpp') 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> blob_ptrs; blob_ptrs.reserve(blobs.size()); -- cgit v1.2.3