Don't perform unnecessary RPCs in call creds timeout test

pull/25406/head
Alexander Polcyn 4 years ago
parent 01c52d7c77
commit b14019661f
  1. 1
      src/ruby/end2end/call_credentials_timeout_test.rb

@ -61,6 +61,7 @@ def check_rpcs_still_possible(stub)
begin
stub.echo(Echo::EchoRequest.new(request: 'hello'), deadline: Time.now + 10)
success = true
break
rescue GRPC::BadStatus => e
STDERR.puts "RPC received status: #{e}. Try again..."
end

Loading…
Cancel
Save