Merge pull request #24163 from murgatroid99/run_xds_tests_clients_bash

In run_xds_tests.py, run clients in bash
pull/24192/head
Michael Lumish 4 years ago committed by GitHub
commit 9673bc9988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/run_tests/run_xds_tests.py

@ -21,7 +21,6 @@ import json
import logging
import os
import random
import shlex
import socket
import subprocess
import sys
@ -1800,9 +1799,10 @@ try:
rpcs_to_send=rpcs_to_send,
metadata_to_send=metadata_to_send)
logger.debug('running client: %s', client_cmd_formatted)
client_cmd = shlex.split(client_cmd_formatted)
try:
client_process = subprocess.Popen(client_cmd,
# We invoke the client using bash to avoid https://github.com/nvm-sh/nvm/issues/1866
client_process = subprocess.Popen(
['/bin/bash', '-i', '-c', client_cmd_formatted],
env=client_env,
stderr=subprocess.STDOUT,
stdout=test_log_file)

Loading…
Cancel
Save