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_network.test.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/buildtool/execution_api/bazel/bazel_network.test.cpp') diff --git a/test/buildtool/execution_api/bazel/bazel_network.test.cpp b/test/buildtool/execution_api/bazel/bazel_network.test.cpp index 59fd027f..a4ec44de 100644 --- a/test/buildtool/execution_api/bazel/bazel_network.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_network.test.cpp @@ -20,6 +20,7 @@ #include "catch2/catch_test_macros.hpp" #include "src/buildtool/auth/authentication.hpp" #include "src/buildtool/common/artifact_digest.hpp" +#include "src/buildtool/common/remote/retry_config.hpp" #include "src/buildtool/compatibility/compatibility.hpp" #include "src/buildtool/execution_api/bazel_msg/bazel_blob_container.hpp" #include "src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp" @@ -45,6 +46,7 @@ TEST_CASE("Bazel network: write/read blobs", "[execution_api]") { remote_config->remote_address->host, remote_config->remote_address->port, &*auth_config, + &RetryConfig::Instance(), {}}; std::string content_foo("foo"); @@ -101,6 +103,7 @@ TEST_CASE("Bazel network: read blobs with unknown size", "[execution_api]") { remote_config->remote_address->host, remote_config->remote_address->port, &*auth_config, + &RetryConfig::Instance(), {}}; std::string content_foo("foo"); -- cgit v1.2.3