adding cloud to prod test for go.

pull/256/head
Donna Dionne 10 years ago
parent 79d9a990ff
commit 662cf72eb9
  1. 14
      tools/gce_setup/grpc_docker.sh

@ -757,6 +757,20 @@ grpc_interop_gen_go_cmd() {
echo $the_cmd
}
# constructs the full dockerized Go interop test cmd.
#
# call-seq:
# flags= .... # generic flags to include the command
# cmd=$($grpc_gen_test_cmd $flags)
grpc_cloud_prod_gen_go_cmd() {
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+=" && 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 the_cmd="$cmd_prefix '$test_script $gfe_flags $@'"
echo $the_cmd
}
# constructs the full dockerized java interop test cmd.
#
# call-seq:

Loading…
Cancel
Save