summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp')
-rwxr-xr-xtest/buildtool/execution_api/bazel/bazel_execution_client.test.cpp8
1 files changed, 6 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 dce90f48..57967957 100755
--- a/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_execution_client.test.cpp
@@ -37,10 +37,12 @@ TEST_CASE("Bazel internals: Execution Client", "[execution_api]") {
REQUIRE(remote_config);
REQUIRE(remote_config->remote_address);
+ RetryConfig retry_config{}; // default retry config
+
BazelExecutionClient execution_client(remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
- &RetryConfig::Instance());
+ &retry_config);
ExecutionConfiguration config;
config.skip_cache_lookup = false;
@@ -113,10 +115,12 @@ TEST_CASE("Bazel internals: Execution Client using env variables",
REQUIRE(remote_config);
REQUIRE(remote_config->remote_address);
+ RetryConfig retry_config{}; // default retry config
+
BazelExecutionClient execution_client(remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
- &RetryConfig::Instance());
+ &retry_config);
ExecutionConfiguration config;
config.skip_cache_lookup = false;