summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel/bazel_network.test.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-16 16:33:48 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-19 09:50:37 +0200
commitf2af767908e42013664e30ec40c431c41a6895c1 (patch)
tree25c15b9f5633985116926820e2e8b33185431b78 /test/buildtool/execution_api/bazel/bazel_network.test.cpp
parent953fc900629dd2b04c509b4f953e75dd351e09d9 (diff)
downloadjustbuild-f2af767908e42013664e30ec40c431c41a6895c1.tar.gz
Pass RetryConfig instance to BazelNetwork and bazel clients
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_network.test.cpp')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_network.test.cpp3
1 files changed, 3 insertions, 0 deletions
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");