diff options
author | 2015-03-10 17:02:25 -0700 | |
---|---|---|
committer | 2015-03-10 17:02:25 -0700 | |
commit | c65569fba8b9f509ff7cd79e057f95ee98164e1a (patch) | |
tree | 58d061748d781262f67cc58a6a652b6801dbb3a4 | |
parent | 51c9262546a95cd88b0abf3f9b456f52214a8f09 (diff) | |
parent | cbc540edcf7639fd85c8df5f37f17abdd8cb34cd (diff) |
Merge pull request #997 from nathanielmanistaatgoogle/interop
Add the Python interop client to gce_setup files
-rwxr-xr-x | tools/gce_setup/grpc_docker.sh | 11 | ||||
-rwxr-xr-x | tools/gce_setup/interop_test_runner.sh | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index 318bfc8868..3deef05ef3 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -921,6 +921,17 @@ grpc_interop_gen_ruby_cmd() { echo $the_cmd } +# constructs the full dockerized python interop test cmd. +# +# call-seq: +# flags= .... # generic flags to include the command +# cmd=$($grpc_gen_test_cmd $flags) +grpc_interop_gen_python_cmd() { + local cmd_prefix="sudo docker run grpc/python bin/bash -l -c" + local the_cmd="$cmd_prefix 'python -B -m interop.client --use_test_ca --use_tls $@'" + echo $the_cmd +} + # constructs the full dockerized java interop test cmd. # # call-seq: diff --git a/tools/gce_setup/interop_test_runner.sh b/tools/gce_setup/interop_test_runner.sh index 90a78b1264..430ad09b8c 100755 --- a/tools/gce_setup/interop_test_runner.sh +++ b/tools/gce_setup/interop_test_runner.sh @@ -36,7 +36,7 @@ echo $result_file_name main() { source grpc_docker.sh test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) - clients=(cxx java go ruby node csharp_mono) + clients=(cxx java go ruby node python csharp_mono) servers=(cxx java go ruby node python) for test_case in "${test_cases[@]}" do |