summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel/bazel_network.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_network.test.cpp')
-rw-r--r--test/buildtool/execution_api/bazel/bazel_network.test.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/buildtool/execution_api/bazel/bazel_network.test.cpp b/test/buildtool/execution_api/bazel/bazel_network.test.cpp
index a4ec44de..d60af9fc 100644
--- a/test/buildtool/execution_api/bazel/bazel_network.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_network.test.cpp
@@ -42,11 +42,13 @@ TEST_CASE("Bazel network: write/read blobs", "[execution_api]") {
REQUIRE(remote_config);
REQUIRE(remote_config->remote_address);
+ RetryConfig retry_config{}; // default retry config
+
auto network = BazelNetwork{instance_name,
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
- &RetryConfig::Instance(),
+ &retry_config,
{}};
std::string content_foo("foo");
@@ -99,11 +101,13 @@ TEST_CASE("Bazel network: read blobs with unknown size", "[execution_api]") {
REQUIRE(remote_config);
REQUIRE(remote_config->remote_address);
+ RetryConfig retry_config{}; // default retry config
+
auto network = BazelNetwork{instance_name,
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
- &RetryConfig::Instance(),
+ &retry_config,
{}};
std::string content_foo("foo");