diff --git a/tools/interop_matrix/README.md b/tools/interop_matrix/README.md index 14fe82b9a1f26dbd8c4cd49ec0b49c42b1cb8ff5..f92dc690e2bfeccf28d74a14b5a77aeb8c6b3b82 100644 --- a/tools/interop_matrix/README.md +++ b/tools/interop_matrix/README.md @@ -38,6 +38,7 @@ from specific releases/tag, are used to test version compatiblity between gRPC r - The output for all the test cases is recorded in a junit style xml file (default to 'report.xml'). ## Instructions for running test cases against a GCR image manually +- Download docker image from GCR. For example: `gcloud docker -- pull gcr.io/grpc-testing/grpc_interop_go1.7:master`. - Run test cases by specifying `docker_image` variable inline with the test case script created above. For example: - `docker_image=gcr.io/grpc-testing/grpc_interop_go1.7:master ./testcases/go__master` will run go__master test cases against `go1.7` with gRPC release `master` docker image in GCR. diff --git a/tools/interop_matrix/run_interop_matrix_tests.py b/tools/interop_matrix/run_interop_matrix_tests.py index 3273c3d759133814d1481883affefc40d109e41a..ff3bf8d5e5e1572bede4b3fc925499cbe2eca5ef 100755 --- a/tools/interop_matrix/run_interop_matrix_tests.py +++ b/tools/interop_matrix/run_interop_matrix_tests.py @@ -125,6 +125,7 @@ def find_test_cases(lang, release): # Only line start with 'docker run' are test cases. for line in f.readlines(): if line.startswith('docker run'): + line = line.replace('docker run', 'gcloud docker -- run') m = re.search('--test_case=(.*)"', line) shortname = m.group(1) if m else 'unknown_test' spec = jobset.JobSpec(cmdline=line,