|
|
|
@ -21,7 +21,6 @@ import json |
|
|
|
|
import logging |
|
|
|
|
import os |
|
|
|
|
import random |
|
|
|
|
import shlex |
|
|
|
|
import socket |
|
|
|
|
import subprocess |
|
|
|
|
import sys |
|
|
|
@ -1800,12 +1799,13 @@ 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, |
|
|
|
|
env=client_env, |
|
|
|
|
stderr=subprocess.STDOUT, |
|
|
|
|
stdout=test_log_file) |
|
|
|
|
# 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) |
|
|
|
|
if test_case == 'backends_restart': |
|
|
|
|
test_backends_restart(gcp, backend_service, instance_group) |
|
|
|
|
elif test_case == 'change_backend_service': |
|
|
|
|