Merge pull request #997 from nathanielmanistaatgoogle/interop

Add the Python interop client to gce_setup files
pull/1005/head
donnadionne 10 years ago
commit c65569fba8
  1. 11
      tools/gce_setup/grpc_docker.sh
  2. 2
      tools/gce_setup/interop_test_runner.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:

@ -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

Loading…
Cancel
Save