aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-28 09:30:20 -0700
committerGravatar yang-g <yangg@google.com>2015-07-28 09:30:20 -0700
commit19e9c0970064f0e654f64373f88d680f9ec536ca (patch)
tree7ccf7b7067f4feff47bfccc7e4415b9d0f163c4a /test/cpp/interop
parentfc8d8d6a43ca60fed934f2129c1742e7fa729349 (diff)
parent8e06c2e62e0be2606598dd1f2a6582b585364520 (diff)
merge with upstream
Diffstat (limited to 'test/cpp/interop')
-rw-r--r--test/cpp/interop/client_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/interop/client_helper.cc b/test/cpp/interop/client_helper.cc
index 48b1b2e864..73d82f7b88 100644
--- a/test/cpp/interop/client_helper.cc
+++ b/test/cpp/interop/client_helper.cc
@@ -123,7 +123,8 @@ std::shared_ptr<ChannelInterface> CreateChannelForTestCase(
GPR_ASSERT(FLAGS_enable_ssl);
grpc::string json_key = GetServiceAccountJsonKey();
std::chrono::seconds token_lifetime = std::chrono::hours(1);
- creds = JWTCredentials(json_key, token_lifetime.count());
+ creds =
+ ServiceAccountJWTAccessCredentials(json_key, token_lifetime.count());
return CreateTestChannel(host_port, FLAGS_server_host_override,
FLAGS_enable_ssl, FLAGS_use_prod_roots, creds);
} else if (test_case == "oauth2_auth_token") {