aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-23 15:30:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-23 15:30:54 -0700
commitdd161a0abdf3897756a81d4a4f6cf9aa5ad787a8 (patch)
tree3166b1c5d4590e395b9f4ac6de2ebfbea1508439 /test/cpp
parent994c2620e3540de869aee52b2ad0678006ef8a6b (diff)
parent2e7ce156354f77bcbdfe0c096b6fa29ebe320200 (diff)
Merge github.com:grpc/grpc into virtuous-velvit-velociraptor
Diffstat (limited to 'test/cpp')
-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") {