Corrects command/flags used in ruby interop tests

pull/1357/head
Tim Emiola 10 years ago
parent b6a96ff734
commit bc206b1e32
  1. 4
      src/ruby/bin/interop/interop_client.rb
  2. 1
      tools/gce_setup/grpc_docker.sh

@ -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

@ -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 $@'"

Loading…
Cancel
Save