|
|
@ -776,9 +776,9 @@ def cloud_to_prod_jobspec(language, |
|
|
|
'--test_case=%s' % test_case |
|
|
|
'--test_case=%s' % test_case |
|
|
|
] |
|
|
|
] |
|
|
|
if transport_security == 'tls': |
|
|
|
if transport_security == 'tls': |
|
|
|
transport_security_options += ['--use_tls=true'] |
|
|
|
transport_security_options = ['--use_tls=true'] |
|
|
|
elif transport_security == 'google_default_credentials' and language == 'c++': |
|
|
|
elif transport_security == 'google_default_credentials' and language == 'c++': |
|
|
|
transport_security_options += [ |
|
|
|
transport_security_options = [ |
|
|
|
'--custom_credentials_type=google_default_credentials' |
|
|
|
'--custom_credentials_type=google_default_credentials' |
|
|
|
] |
|
|
|
] |
|
|
|
else: |
|
|
|
else: |
|
|
@ -1519,9 +1519,6 @@ try: |
|
|
|
sys.exit(1) |
|
|
|
sys.exit(1) |
|
|
|
else: |
|
|
|
else: |
|
|
|
sys.exit(0) |
|
|
|
sys.exit(0) |
|
|
|
except Exception as e: |
|
|
|
|
|
|
|
print('exception occurred:') |
|
|
|
|
|
|
|
traceback.print_exc(file=sys.stdout) |
|
|
|
|
|
|
|
finally: |
|
|
|
finally: |
|
|
|
# Check if servers are still running. |
|
|
|
# Check if servers are still running. |
|
|
|
for server, job in server_jobs.items(): |
|
|
|
for server, job in server_jobs.items(): |
|
|
|