Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
453a926d
Commit
453a926d
authored
10 years ago
by
Qi Zhao
Browse files
Options
Downloads
Plain Diff
Merge pull request #568 from donnadionne/docker
Adding new tests into docker runs
parents
3c665f56
caa51e40
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/gce_setup/cloud_prod_runner.sh
+1
-1
1 addition, 1 deletion
tools/gce_setup/cloud_prod_runner.sh
tools/gce_setup/grpc_docker.sh
+3
-3
3 additions, 3 deletions
tools/gce_setup/grpc_docker.sh
tools/gce_setup/interop_test_runner.sh
+1
-1
1 addition, 1 deletion
tools/gce_setup/interop_test_runner.sh
with
5 additions
and
5 deletions
tools/gce_setup/cloud_prod_runner.sh
+
1
−
1
View file @
453a926d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
main
()
{
main
()
{
source
grpc_docker.sh
source
grpc_docker.sh
test_cases
=(
large_unary empty_unary ping_pong client_streaming server_streaming
)
test_cases
=(
large_unary empty_unary ping_pong client_streaming server_streaming
service_account_creds compute_engine_creds
)
clients
=(
cxx java go ruby node
)
clients
=(
cxx java go ruby node
)
for
test_case
in
"
${
test_cases
[@]
}
"
for
test_case
in
"
${
test_cases
[@]
}
"
do
do
...
...
This diff is collapsed.
Click to expand it.
tools/gce_setup/grpc_docker.sh
+
3
−
3
View file @
453a926d
...
@@ -321,7 +321,7 @@ grpc_interop_test_flags() {
...
@@ -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() {
...
@@ -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/g
rpc/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() {
...
@@ -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/g
rpc/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
$@
'"
...
...
This diff is collapsed.
Click to expand it.
tools/gce_setup/interop_test_runner.sh
+
1
−
1
View file @
453a926d
...
@@ -6,7 +6,7 @@ echo $result_file_name
...
@@ -6,7 +6,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
)
test_cases
=(
large_unary empty_unary ping_pong client_streaming server_streaming
cancel_after_being cancel_after_first_response
)
clients
=(
cxx java go ruby node
)
clients
=(
cxx java go ruby node
)
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
[@]
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment