Skip to content
Snippets Groups Projects
Commit cbc540ed authored by Nathaniel Manista's avatar Nathaniel Manista
Browse files

Add the Python interop client to gce_setup files

parent e0e8edfe
No related branches found
No related tags found
No related merge requests found
...@@ -921,6 +921,17 @@ grpc_interop_gen_ruby_cmd() { ...@@ -921,6 +921,17 @@ grpc_interop_gen_ruby_cmd() {
echo $the_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. # constructs the full dockerized java interop test cmd.
# #
# call-seq: # call-seq:
......
...@@ -36,7 +36,7 @@ echo $result_file_name ...@@ -36,7 +36,7 @@ echo $result_file_name
main() { main() {
source grpc_docker.sh source grpc_docker.sh
test_cases=(large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response) 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) servers=(cxx java go ruby node python)
for test_case in "${test_cases[@]}" for test_case in "${test_cases[@]}"
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment