diff options
author | 2017-12-19 05:50:11 -0800 | |
---|---|---|
committer | 2017-12-19 05:51:45 -0800 | |
commit | 905e30721ad566c3a940afbec06d73b134d5f064 (patch) | |
tree | 5d82f18e94549764c0c4bc2162ba2a2093a88c6a /src/test/shell | |
parent | 8d92cd83c3399d78825c5d9c7fe43c6e8990f38d (diff) |
remote: Rename --remote_rest_cache to --remote_http_cache
Call it what it is.
RELNOTES: --remote_rest_cache was renamed to --remote_http_cache. Both
options keep working in this release, but --remote_rest_cache will be
removed in the next release.
Change-Id: I9e0b947f2184e0d543e7e19c5c33b6aa851d47d2
PiperOrigin-RevId: 179542826
Diffstat (limited to 'src/test/shell')
-rw-r--r-- | src/test/shell/bazel/BUILD | 4 | ||||
-rwxr-xr-x | src/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 \ |