aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_interop_tests.py
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2018-10-11 13:44:28 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-10-11 16:00:43 -0700
commit4632895da992c7b3d8df001fe9f54ddb72e94781 (patch)
tree5e39dec58b2a305eff8a8dc64f04400713e00c94 /tools/run_tests/run_interop_tests.py
parent61b542f912507ca6b5389442645e2449b43a63d5 (diff)
Add java google default creds to cloud-to-prod interop scenarios
Diffstat (limited to 'tools/run_tests/run_interop_tests.py')
-rwxr-xr-xtools/run_tests/run_interop_tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index e8d6b59687..1d639edb82 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -778,7 +778,7 @@ def cloud_to_prod_jobspec(language,
if transport_security == 'tls':
transport_security_options = ['--use_tls=true']
elif transport_security == 'google_default_credentials' and str(
- language) in ['c++', 'go']:
+ language) in ['c++', 'go', 'java', 'javaokhttp']:
transport_security_options = [
'--custom_credentials_type=google_default_credentials'
]
@@ -1323,7 +1323,9 @@ try:
service_account_key_file,
transport_security='tls')
jobs.append(tls_test_job)
- if str(language) in ['c++', 'go']:
+ if str(language) in [
+ 'c++', 'go', 'java', 'javaokhttp'
+ ]:
google_default_creds_test_job = cloud_to_prod_jobspec(
language,
test_case,