Skip to content
Snippets Groups Projects
Commit 74cb8f5e authored by murgatroid99's avatar murgatroid99
Browse files

Removed remaining reference to timeout argument from ruby interop client

parent fb2877d4
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,8 @@ class NamedTests
def timeout_on_sleeping_server
msg_sizes = [[27_182, 31_415]]
ppp = PingPongPlayer.new(msg_sizes)
resps = @stub.full_duplex_call(ppp.each_item, timeout: 0.001)
deadline = GRPC::Core::TimeConsts::from_relative_time(0.001)
resps = @stub.full_duplex_call(ppp.each_item, deadline: deadline)
resps.each { |r| ppp.queue.push(r) }
fail 'Should have raised GRPC::BadStatus(DEADLINE_EXCEEDED)'
rescue GRPC::BadStatus => e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment