Skip to content
Snippets Groups Projects
Commit 54db83d0 authored by yang-g's avatar yang-g
Browse files

fix run_interop_tests.py

parent 18802c77
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,7 @@ _CLOUD_TO_CLOUD_BASE_ARGS = [ ...@@ -53,8 +53,7 @@ _CLOUD_TO_CLOUD_BASE_ARGS = [
# supported by C core SslCredentials instead. # supported by C core SslCredentials instead.
_SSL_CERT_ENV = { 'SSL_CERT_FILE':'/usr/local/share/grpc/roots.pem' } _SSL_CERT_ENV = { 'SSL_CERT_FILE':'/usr/local/share/grpc/roots.pem' }
# TODO(jtatttermusch) unify usage of --enable_ssl, --use_tls and --use_tls=true # TODO(jtatttermusch) unify usage of --use_tls and --use_tls=true
class CXXLanguage: class CXXLanguage:
...@@ -64,11 +63,11 @@ class CXXLanguage: ...@@ -64,11 +63,11 @@ class CXXLanguage:
def cloud_to_prod_args(self): def cloud_to_prod_args(self):
return (self.client_cmdline_base + _CLOUD_TO_PROD_BASE_ARGS + return (self.client_cmdline_base + _CLOUD_TO_PROD_BASE_ARGS +
['--enable_ssl','--use_prod_roots']) ['--use_tls=true','--use_prod_roots'])
def cloud_to_cloud_args(self): def cloud_to_cloud_args(self):
return (self.client_cmdline_base + _CLOUD_TO_CLOUD_BASE_ARGS + return (self.client_cmdline_base + _CLOUD_TO_CLOUD_BASE_ARGS +
['--enable_ssl']) ['--use_tls=true'])
def cloud_to_prod_env(self): def cloud_to_prod_env(self):
return None return None
...@@ -327,4 +326,4 @@ else: ...@@ -327,4 +326,4 @@ else:
jobset.message('FAILED', 'Some tests failed', do_newline=True) jobset.message('FAILED', 'Some tests failed', do_newline=True)
tree = ET.ElementTree(root) tree = ET.ElementTree(root)
tree.write('report.xml', encoding='UTF-8') tree.write('report.xml', encoding='UTF-8')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment