Functions | Variables
run_interop_matrix_tests Namespace Reference

Functions

def _cleanup_docker_image (image)
 
def _generate_test_case_jobspecs (lang, runtime, release, suite_name)
 
def _get_test_images_for_lang (lang, release_arg, image_path_prefix)
 
def _pull_image_for_lang (lang, image, release)
 
def _read_test_cases_file (lang, runtime, release)
 
def _run_tests_for_lang (lang, runtime, images, xml_report_tree)
 
def _test_release (lang, runtime, release, image, xml_report_tree, skip_tests)
 

Variables

 _LANGUAGES = list(client_matrix.LANG_RUNTIME_MATRIX.keys())
 
int _MAX_PARALLEL_DOWNLOADS = 6
 
int _PULL_IMAGE_TIMEOUT_SECONDS = 15 * 60
 
 _RELEASES
 
int _TEST_TIMEOUT_SECONDS = 60
 
 _xml_report_tree = report_utils.new_junit_xml_tree()
 
 action
 
 argp = argparse.ArgumentParser(description='Run interop tests.')
 
 args = argp.parse_args()
 
 choices
 
 const
 
 default
 
def docker_images = _get_test_images_for_lang(lang, args.release, args.gcr_path)
 
 help
 
list languages = ['all'] else _LANGUAGES
 
 nargs
 
 python_util_dir
 
int total_num_failures = 0
 
 type
 

Function Documentation

◆ _cleanup_docker_image()

def run_interop_matrix_tests._cleanup_docker_image (   image)
private

Definition at line 154 of file run_interop_matrix_tests.py.

◆ _generate_test_case_jobspecs()

def run_interop_matrix_tests._generate_test_case_jobspecs (   lang,
  runtime,
  release,
  suite_name 
)
private
Returns the list of test cases from testcase files per lang/release.

Definition at line 163 of file run_interop_matrix_tests.py.

◆ _get_test_images_for_lang()

def run_interop_matrix_tests._get_test_images_for_lang (   lang,
  release_arg,
  image_path_prefix 
)
private
Find docker images for a language across releases and runtimes.

  Returns dictionary of list of (<tag>, <image-full-path>) keyed by runtime.

Definition at line 94 of file run_interop_matrix_tests.py.

◆ _pull_image_for_lang()

def run_interop_matrix_tests._pull_image_for_lang (   lang,
  image,
  release 
)
private
Pull an image for a given language form the image registry.

Definition at line 207 of file run_interop_matrix_tests.py.

◆ _read_test_cases_file()

def run_interop_matrix_tests._read_test_cases_file (   lang,
  runtime,
  release 
)
private
Read test cases from a bash-like file and return a list of commands

Definition at line 126 of file run_interop_matrix_tests.py.

◆ _run_tests_for_lang()

def run_interop_matrix_tests._run_tests_for_lang (   lang,
  runtime,
  images,
  xml_report_tree 
)
private
Find and run all test cases for a language.

  images is a list of (<release-tag>, <image-full-path>) tuple.

Definition at line 250 of file run_interop_matrix_tests.py.

◆ _test_release()

def run_interop_matrix_tests._test_release (   lang,
  runtime,
  release,
  image,
  xml_report_tree,
  skip_tests 
)
private

Definition at line 220 of file run_interop_matrix_tests.py.

Variable Documentation

◆ _LANGUAGES

run_interop_matrix_tests._LANGUAGES = list(client_matrix.LANG_RUNTIME_MATRIX.keys())
private

Definition at line 43 of file run_interop_matrix_tests.py.

◆ _MAX_PARALLEL_DOWNLOADS

int run_interop_matrix_tests._MAX_PARALLEL_DOWNLOADS = 6
private

Definition at line 42 of file run_interop_matrix_tests.py.

◆ _PULL_IMAGE_TIMEOUT_SECONDS

int run_interop_matrix_tests._PULL_IMAGE_TIMEOUT_SECONDS = 15 * 60
private

Definition at line 41 of file run_interop_matrix_tests.py.

◆ _RELEASES

run_interop_matrix_tests._RELEASES
private
Initial value:
1 = sorted(
2  list(
3  set(release
4  for release_dict in list(client_matrix.LANG_RELEASE_MATRIX.values())
5  for release in list(release_dict.keys()))))

Definition at line 45 of file run_interop_matrix_tests.py.

◆ _TEST_TIMEOUT_SECONDS

int run_interop_matrix_tests._TEST_TIMEOUT_SECONDS = 60
private

Definition at line 40 of file run_interop_matrix_tests.py.

◆ _xml_report_tree

run_interop_matrix_tests._xml_report_tree = report_utils.new_junit_xml_tree()
private

Definition at line 303 of file run_interop_matrix_tests.py.

◆ action

run_interop_matrix_tests.action

Definition at line 69 of file run_interop_matrix_tests.py.

◆ argp

run_interop_matrix_tests.argp = argparse.ArgumentParser(description='Run interop tests.')

Definition at line 51 of file run_interop_matrix_tests.py.

◆ args

run_interop_matrix_tests.args = argp.parse_args()

Definition at line 159 of file run_interop_matrix_tests.py.

◆ choices

run_interop_matrix_tests.choices

Definition at line 58 of file run_interop_matrix_tests.py.

◆ const

run_interop_matrix_tests.const

Definition at line 77 of file run_interop_matrix_tests.py.

◆ default

run_interop_matrix_tests.default

Definition at line 52 of file run_interop_matrix_tests.py.

◆ docker_images

def run_interop_matrix_tests.docker_images = _get_test_images_for_lang(lang, args.release, args.gcr_path)

Definition at line 305 of file run_interop_matrix_tests.py.

◆ help

run_interop_matrix_tests.help

Definition at line 55 of file run_interop_matrix_tests.py.

◆ languages

list run_interop_matrix_tests.languages = ['all'] else _LANGUAGES

Definition at line 301 of file run_interop_matrix_tests.py.

◆ nargs

run_interop_matrix_tests.nargs

Definition at line 64 of file run_interop_matrix_tests.py.

◆ python_util_dir

run_interop_matrix_tests.python_util_dir
Initial value:
1 = os.path.abspath(
2  os.path.join(os.path.dirname(__file__), '../run_tests/python_utils'))

Definition at line 32 of file run_interop_matrix_tests.py.

◆ total_num_failures

int run_interop_matrix_tests.total_num_failures = 0

Definition at line 302 of file run_interop_matrix_tests.py.

◆ type

run_interop_matrix_tests.type

Definition at line 52 of file run_interop_matrix_tests.py.

cpp.gmock_class.set
set
Definition: bloaty/third_party/googletest/googlemock/scripts/generator/cpp/gmock_class.py:44


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:43