|
|
@ -321,7 +321,7 @@ grpc_interop_test_flags() { |
|
|
|
echo "$FUNCNAME: missing arg: test_case" 1>&2 |
|
|
|
echo "$FUNCNAME: missing arg: test_case" 1>&2 |
|
|
|
return 1 |
|
|
|
return 1 |
|
|
|
} |
|
|
|
} |
|
|
|
echo "--server_host_override=foo.test.google.fr --server_host=$server_ip --server_port=$port --test_case=$test_case" |
|
|
|
echo "--server_host=$server_ip --server_port=$port --test_case=$test_case" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# checks the positional args and assigns them to variables visible in the caller |
|
|
|
# checks the positional args and assigns them to variables visible in the caller |
|
|
@ -945,7 +945,7 @@ grpc_cloud_prod_auth_compute_engine_creds_gen_ruby_cmd() { |
|
|
|
# cmd=$($grpc_gen_test_cmd $flags) |
|
|
|
# cmd=$($grpc_gen_test_cmd $flags) |
|
|
|
grpc_interop_gen_go_cmd() { |
|
|
|
grpc_interop_gen_go_cmd() { |
|
|
|
local cmd_prefix="sudo docker run grpc/go /bin/bash -c" |
|
|
|
local cmd_prefix="sudo docker run grpc/go /bin/bash -c" |
|
|
|
local test_script="cd /go/src/github.com/google/grpc-go/rpc/interop/client" |
|
|
|
local test_script="cd src/google.golang.org/grpc/interop/client" |
|
|
|
local test_script+=" && go run client.go --use_tls=true" |
|
|
|
local test_script+=" && go run client.go --use_tls=true" |
|
|
|
local the_cmd="$cmd_prefix '$test_script $@'" |
|
|
|
local the_cmd="$cmd_prefix '$test_script $@'" |
|
|
|
echo $the_cmd |
|
|
|
echo $the_cmd |
|
|
@ -958,7 +958,7 @@ grpc_interop_gen_go_cmd() { |
|
|
|
# cmd=$($grpc_gen_test_cmd $flags) |
|
|
|
# cmd=$($grpc_gen_test_cmd $flags) |
|
|
|
grpc_cloud_prod_gen_go_cmd() { |
|
|
|
grpc_cloud_prod_gen_go_cmd() { |
|
|
|
local cmd_prefix="sudo docker run grpc/go /bin/bash -c" |
|
|
|
local cmd_prefix="sudo docker run grpc/go /bin/bash -c" |
|
|
|
local test_script="cd /go/src/github.com/google/grpc-go/rpc/interop/client" |
|
|
|
local test_script="cd src/google.golang.org/grpc/interop/client" |
|
|
|
local test_script+=" && go run client.go --use_tls=true" |
|
|
|
local test_script+=" && go run client.go --use_tls=true" |
|
|
|
local gfe_flags=" --tls_ca_file=\"\" --tls_server_name=\"\" --server_port=443 --server_host=grpc-test.sandbox.google.com" |
|
|
|
local gfe_flags=" --tls_ca_file=\"\" --tls_server_name=\"\" --server_port=443 --server_host=grpc-test.sandbox.google.com" |
|
|
|
local the_cmd="$cmd_prefix '$test_script $gfe_flags $@'" |
|
|
|
local the_cmd="$cmd_prefix '$test_script $gfe_flags $@'" |
|
|
|