summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/execution_api/bazel/TARGETS1
-rw-r--r--test/buildtool/execution_api/bazel/bazel_api.test.cpp2
-rw-r--r--test/buildtool/execution_engine/executor/TARGETS1
-rwxr-xr-xtest/buildtool/execution_engine/executor/executor_api_remote_bazel.test.cpp6
4 files changed, 10 insertions, 0 deletions
diff --git a/test/buildtool/execution_api/bazel/TARGETS b/test/buildtool/execution_api/bazel/TARGETS
index e94aed9a..eb888328 100644
--- a/test/buildtool/execution_api/bazel/TARGETS
+++ b/test/buildtool/execution_api/bazel/TARGETS
@@ -101,6 +101,7 @@
, ["utils", "catch-main-remote-execution"]
, ["utils", "test_auth_config"]
, ["utils", "test_remote_config"]
+ , ["@", "src", "src/buildtool/common/remote", "retry_config"]
, ["@", "src", "src/buildtool/execution_api/remote", "bazel"]
, ["buildtool/execution_api/common", "api_test"]
]
diff --git a/test/buildtool/execution_api/bazel/bazel_api.test.cpp b/test/buildtool/execution_api/bazel/bazel_api.test.cpp
index 9b9e6def..2674ee1f 100644
--- a/test/buildtool/execution_api/bazel/bazel_api.test.cpp
+++ b/test/buildtool/execution_api/bazel/bazel_api.test.cpp
@@ -16,6 +16,7 @@
#include <string>
#include "catch2/catch_test_macros.hpp"
+#include "src/buildtool/common/remote/retry_config.hpp"
#include "src/buildtool/execution_api/remote/bazel/bazel_api.hpp"
#include "src/buildtool/execution_api/remote/config.hpp"
#include "test/buildtool/execution_api/common/api_test.hpp"
@@ -34,6 +35,7 @@ auto const kApiFactory = []() {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
{}}};
};
diff --git a/test/buildtool/execution_engine/executor/TARGETS b/test/buildtool/execution_engine/executor/TARGETS
index ab5c197a..3ac12f80 100644
--- a/test/buildtool/execution_engine/executor/TARGETS
+++ b/test/buildtool/execution_engine/executor/TARGETS
@@ -69,6 +69,7 @@
[ "executor_api_tests"
, ["@", "src", "src/buildtool/common", "common"]
, ["@", "src", "src/buildtool/common", "config"]
+ , ["@", "src", "src/buildtool/common/remote", "retry_config"]
, ["@", "src", "src/buildtool/execution_api/remote", "bazel"]
, ["@", "src", "src/buildtool/execution_api/remote", "config"]
, ["@", "src", "src/buildtool/execution_engine/executor", "executor"]
diff --git a/test/buildtool/execution_engine/executor/executor_api_remote_bazel.test.cpp b/test/buildtool/execution_engine/executor/executor_api_remote_bazel.test.cpp
index 26054283..424745de 100755
--- a/test/buildtool/execution_engine/executor/executor_api_remote_bazel.test.cpp
+++ b/test/buildtool/execution_engine/executor/executor_api_remote_bazel.test.cpp
@@ -15,6 +15,7 @@
#include <optional>
#include "catch2/catch_test_macros.hpp"
+#include "src/buildtool/common/remote/retry_config.hpp"
#include "src/buildtool/common/repository_config.hpp"
#include "src/buildtool/common/statistics.hpp"
#include "src/buildtool/execution_api/remote/bazel/bazel_api.hpp"
@@ -41,6 +42,7 @@ TEST_CASE("Executor<BazelApi>: Upload blob", "[executor]") {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
config}};
});
}
@@ -69,6 +71,7 @@ TEST_CASE("Executor<BazelApi>: Compile hello world", "[executor]") {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
config}};
},
&*auth_config,
@@ -99,6 +102,7 @@ TEST_CASE("Executor<BazelApi>: Compile greeter", "[executor]") {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
config}};
},
&*auth_config,
@@ -129,6 +133,7 @@ TEST_CASE("Executor<BazelApi>: Upload and download trees", "[executor]") {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
config}};
},
&*auth_config,
@@ -159,6 +164,7 @@ TEST_CASE("Executor<BazelApi>: Retrieve output directories", "[executor]") {
remote_config->remote_address->host,
remote_config->remote_address->port,
&*auth_config,
+ &RetryConfig::Instance(),
config}};
},
&*auth_config,