Merge pull request #16841 from apolcyn/add_cpp_gcd_to_cloud_to_prod_auth

Add c++ google default creds to cloud to prod auth scenarios
pull/16834/merge
apolcyn 7 years ago committed by GitHub
commit e36c14fb61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/cpp/interop/client.cc
  2. 3
      tools/run_tests/run_interop_tests.py

@ -137,7 +137,8 @@ int main(int argc, char** argv) {
&grpc::testing::InteropClient::DoTimeoutOnSleepingServer, &client);
actions["empty_stream"] =
std::bind(&grpc::testing::InteropClient::DoEmptyStream, &client);
if (FLAGS_use_tls) {
if (FLAGS_use_tls ||
FLAGS_custom_credentials_type == "google_default_credentials") {
actions["compute_engine_creds"] =
std::bind(&grpc::testing::InteropClient::DoComputeEngineCreds, &client,
FLAGS_default_service_account, FLAGS_oauth_scope);

@ -1376,7 +1376,8 @@ try:
transport_security='tls')
jobs.append(tls_test_job)
if str(language) in [
'go'
'c++',
'go',
]: # Add more languages to the list to turn on tests.
google_default_creds_test_job = cloud_to_prod_jobspec(
language,

Loading…
Cancel
Save