aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib
diff options
context:
space:
mode:
authorGravatar Jakob Buchgraber <buchgr@google.com>2017-12-19 06:51:56 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-19 06:53:56 -0800
commitf527577fcc27a06a3db5b9fdc426a71a1b96d5a4 (patch)
treeec57dedbcf15da43205fb17c52f7e5fe5fa40dd4 /src/test/java/com/google/devtools/build/lib
parent905e30721ad566c3a940afbec06d73b134d5f064 (diff)
remote: Allow auth scopes to be a comma-separated list.
--auth_scopes can be passed a comma-separated list of authentication scopes. Add "https://www.googleapis.com/auth/devstorage.read_write" to the list of defaults. This scope is used when using Google Cloud Storage (GCS) as a remote caching backend. Change-Id: I62e6fed28b28737823ad6c70cbc5048b3a3190b5 PiperOrigin-RevId: 179548090
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib')
-rw-r--r--src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java b/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java
index 76a992ab16..76d35871e9 100644
--- a/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java
+++ b/src/test/java/com/google/devtools/build/lib/remote/GrpcRemoteCacheTest.java
@@ -138,7 +138,7 @@ public class GrpcRemoteCacheTest {
AuthAndTLSOptions authTlsOptions = Options.getDefaults(AuthAndTLSOptions.class);
authTlsOptions.authEnabled = true;
authTlsOptions.authCredentials = "/exec/root/creds.json";
- authTlsOptions.authScope = "dummy.scope";
+ authTlsOptions.authScope = ImmutableList.of("dummy.scope");
GenericJson json = new GenericJson();
json.put("type", "authorized_user");