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 | |
|
private |
Definition at line 154 of file run_interop_matrix_tests.py.
|
private |
Returns the list of test cases from testcase files per lang/release.
Definition at line 163 of file run_interop_matrix_tests.py.
|
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.
|
private |
Pull an image for a given language form the image registry.
Definition at line 207 of file run_interop_matrix_tests.py.
|
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.
|
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.
|
private |
Definition at line 220 of file run_interop_matrix_tests.py.
|
private |
Definition at line 43 of file run_interop_matrix_tests.py.
|
private |
Definition at line 42 of file run_interop_matrix_tests.py.
|
private |
Definition at line 41 of file run_interop_matrix_tests.py.
|
private |
Definition at line 45 of file run_interop_matrix_tests.py.
|
private |
Definition at line 40 of file run_interop_matrix_tests.py.
|
private |
Definition at line 303 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.action |
Definition at line 69 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.argp = argparse.ArgumentParser(description='Run interop tests.') |
Definition at line 51 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.args = argp.parse_args() |
Definition at line 159 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.choices |
Definition at line 58 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.const |
Definition at line 77 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.default |
Definition at line 52 of file run_interop_matrix_tests.py.
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.
run_interop_matrix_tests.help |
Definition at line 55 of file run_interop_matrix_tests.py.
list run_interop_matrix_tests.languages = ['all'] else _LANGUAGES |
Definition at line 301 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.nargs |
Definition at line 64 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.python_util_dir |
Definition at line 32 of file run_interop_matrix_tests.py.
int run_interop_matrix_tests.total_num_failures = 0 |
Definition at line 302 of file run_interop_matrix_tests.py.
run_interop_matrix_tests.type |
Definition at line 52 of file run_interop_matrix_tests.py.