pull/23839/head
Penn (Dapeng) Zhang 4 years ago
parent 33e0400df0
commit 7f2d994946
  1. 6
      tools/run_tests/run_xds_tests.py

@ -1729,9 +1729,11 @@ try:
bootstrap_path = os.path.abspath(args.bootstrap_file)
else:
with tempfile.NamedTemporaryFile(delete=False) as bootstrap_file:
bootstrap_file.write(_BOOTSTRAP_TEMPLATE.format(
bootstrap_file.write(
_BOOTSTRAP_TEMPLATE.format(
node_id=socket.gethostname(),
server_features=json.dumps(bootstrap_server_features)).encode('utf-8'))
server_features=json.dumps(
bootstrap_server_features)).encode('utf-8'))
bootstrap_path = bootstrap_file.name
client_env['GRPC_XDS_BOOTSTRAP'] = bootstrap_path
test_results = {}

Loading…
Cancel
Save