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/buildtool/execution_api/bazel/bazel_execution_client.test.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp') diff --git a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp index 9759a820..dce90f48 100755 --- a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp @@ -16,6 +16,7 @@ #include "catch2/catch_test_macros.hpp" #include "src/buildtool/common/artifact_digest.hpp" +#include "src/buildtool/common/remote/retry_config.hpp" #include "src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp" #include "src/buildtool/execution_api/remote/config.hpp" #include "src/buildtool/file_system/object_type.hpp" @@ -38,7 +39,8 @@ TEST_CASE("Bazel internals: Execution Client", "[execution_api]") { BazelExecutionClient execution_client(remote_config->remote_address->host, remote_config->remote_address->port, - &*auth_config); + &*auth_config, + &RetryConfig::Instance()); ExecutionConfiguration config; config.skip_cache_lookup = false; @@ -113,7 +115,8 @@ TEST_CASE("Bazel internals: Execution Client using env variables", BazelExecutionClient execution_client(remote_config->remote_address->host, remote_config->remote_address->port, - &*auth_config); + &*auth_config, + &RetryConfig::Instance()); ExecutionConfiguration config; config.skip_cache_lookup = false; -- cgit v1.2.3