aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/shell')
-rw-r--r--src/test/shell/bazel/BUILD4
-rwxr-xr-xsrc/test/shell/bazel/remote_execution_http_test.sh (renamed from src/test/shell/bazel/remote_execution_rest_test.sh)8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index 91b0cf5603..7cc1f6fe4b 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -424,9 +424,9 @@ sh_test(
)
sh_test(
- name = "remote_execution_rest_test",
+ name = "remote_execution_http_test",
size = "large",
- srcs = ["remote_execution_rest_test.sh"],
+ srcs = ["remote_execution_http_test.sh"],
data = [
":test-deps",
"//src/tools/remote:worker",
diff --git a/src/test/shell/bazel/remote_execution_rest_test.sh b/src/test/shell/bazel/remote_execution_http_test.sh
index 17cbe3572e..8605bd3e5c 100755
--- a/src/test/shell/bazel/remote_execution_rest_test.sh
+++ b/src/test/shell/bazel/remote_execution_http_test.sh
@@ -59,7 +59,7 @@ function tear_down() {
rm -rf "${work_path}"
}
-function test_cc_binary_rest_cache() {
+function test_cc_binary_http_cache() {
mkdir -p a
cat > a/BUILD <<EOF
package(default_visibility = ["//visibility:public"])
@@ -79,7 +79,7 @@ EOF
bazel clean --expunge >& $TEST_log
bazel build \
--experimental_remote_spawn_cache=true \
- --remote_rest_cache=http://localhost:${hazelcast_port}/hazelcast/rest/maps \
+ --remote_http_cache=http://localhost:${hazelcast_port}/hazelcast/rest/maps \
//a:test >& $TEST_log \
|| fail "Failed to build //a:test with remote REST cache service"
diff bazel-bin/a/test ${TEST_TMPDIR}/test_expected \
@@ -93,7 +93,7 @@ EOF
fi
}
-function test_cc_binary_rest_cache_bad_server() {
+function test_cc_binary_http_cache_bad_server() {
mkdir -p a
cat > a/BUILD <<EOF
package(default_visibility = ["//visibility:public"])
@@ -113,7 +113,7 @@ EOF
bazel clean --expunge >& $TEST_log
bazel build \
--experimental_remote_spawn_cache=true \
- --remote_rest_cache=http://bad.hostname/bad/cache \
+ --remote_http_cache=http://bad.hostname/bad/cache \
//a:test >& $TEST_log \
|| fail "Failed to build //a:test with remote REST cache service"
diff bazel-bin/a/test ${TEST_TMPDIR}/test_expected \