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/buildtool/execution_api/bazel/bazel_cas_client.test.cpp | |
parent | 953fc900629dd2b04c509b4f953e75dd351e09d9 (diff) | |
download | justbuild-f2af767908e42013664e30ec40c431c41a6895c1.tar.gz |
Pass RetryConfig instance to BazelNetwork and bazel clients
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp')
-rw-r--r-- | test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp index 68293fd2..9335ce77 100644 --- a/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_cas_client.test.cpp @@ -19,6 +19,7 @@ #include "catch2/catch_test_macros.hpp" #include "gsl/gsl" #include "src/buildtool/common/artifact_digest.hpp" +#include "src/buildtool/common/remote/retry_config.hpp" #include "src/buildtool/execution_api/bazel_msg/bazel_blob_container.hpp" #include "src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp" #include "src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp" @@ -40,7 +41,8 @@ TEST_CASE("Bazel internals: CAS Client", "[execution_api]") { REQUIRE(remote_config->remote_address); BazelCasClient cas_client(remote_config->remote_address->host, remote_config->remote_address->port, - &*auth_config); + &*auth_config, + &RetryConfig::Instance()); SECTION("Valid digest and blob") { // digest of "test" |