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
bc206b1e
Commit
bc206b1e
authored
9 years ago
by
Tim Emiola
Browse files
Options
Downloads
Patches
Plain Diff
Corrects command/flags used in ruby interop tests
parent
b6a96ff7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ruby/bin/interop/interop_client.rb
+2
-2
2 additions, 2 deletions
src/ruby/bin/interop/interop_client.rb
tools/gce_setup/grpc_docker.sh
+0
-1
0 additions, 1 deletion
tools/gce_setup/grpc_docker.sh
with
2 additions
and
3 deletions
src/ruby/bin/interop/interop_client.rb
+
2
−
2
View file @
bc206b1e
...
...
@@ -277,13 +277,13 @@ class NamedTests
p
'OK: cancel_after_begin'
end
def
cancel_after_first
def
cancel_after_first
_response
msg_sizes
=
[[
27_182
,
31_415
],
[
8
,
9
],
[
1828
,
2653
],
[
45_904
,
58_979
]]
ppp
=
PingPongPlayer
.
new
(
msg_sizes
)
op
=
@stub
.
full_duplex_call
(
ppp
.
each_item
,
return_op:
true
)
ppp
.
canceller_op
=
op
# causes ppp to cancel after the 1st message
assert_raises
(
GRPC
::
Cancelled
)
{
op
.
execute
.
each
{
|
r
|
ppp
.
queue
.
push
(
r
)
}
}
p
'OK: cancel_after_first'
p
'OK: cancel_after_first
_response
'
end
def
all
...
...
This diff is collapsed.
Click to expand it.
tools/gce_setup/grpc_docker.sh
+
0
−
1
View file @
bc206b1e
...
...
@@ -1173,7 +1173,6 @@ grpc_cloud_prod_auth_jwt_token_creds_gen_ruby_cmd() {
local
test_script
=
"/var/local/git/grpc/src/ruby/bin/interop/interop_client.rb"
local
test_script+
=
" --use_tls"
local
gfe_flags
=
$(
_grpc_prod_gfe_flags
)
local
added_gfe_flags
=
$(
_grpc_jwt_token_test_flags
)
local
env_prefix
=
"SSL_CERT_FILE=/cacerts/roots.pem"
env_prefix+
=
" GOOGLE_APPLICATION_CREDENTIALS=/service_account/stubbyCloudTestingTest-7dd63462c60c.json"
local
the_cmd
=
"
$cmd_prefix
'
$env_prefix
ruby
$test_script
$gfe_flags
$added_gfe_flags
$@
'"
...
...
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