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_execution_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_execution_client.test.cpp')
-rwxr-xr-x | test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
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; |