diff options
author | 2015-10-08 11:17:13 -0700 | |
---|---|---|
committer | 2015-10-08 11:17:13 -0700 | |
commit | 2167500e8c01c596653b5bf28bcf1d4f2100ebba (patch) | |
tree | 0d417625f56032342ca8eb2fc7e9fa3625c64bf6 /tools | |
parent | 7d9bb2e0c1c2333ce5b87db9b98e17789727fa44 (diff) | |
parent | cf72a3adfe8ab55775d8e0d648fb62f8b4e58f1d (diff) |
Merge pull request #3739 from jtattermusch/csharp_interop_auth
Make C# auth interop tests spec compliant
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_interop_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py index 2ca57d5907..f328f4642e 100755 --- a/tools/run_tests/run_interop_tests.py +++ b/tools/run_tests/run_interop_tests.py @@ -311,6 +311,10 @@ def add_auth_options(language, test_case, cmdline, env): if test_case in ['per_rpc_creds', 'oauth2_auth_token']: cmdline += [oauth_scope_arg] + if test_case == 'oauth2_auth_token' and language == 'c++': + # C++ oauth2 test uses GCE creds and thus needs to know the default account + cmdline += [default_account_arg] + if test_case == 'compute_engine_creds': cmdline += [oauth_scope_arg, default_account_arg] |