diff options
author | Tim Emiola <temiola@google.com> | 2015-04-03 11:54:40 -0700 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-04-10 11:23:44 -0700 |
commit | 89cc87359f02e17877d908b00e44347a2a16cf69 (patch) | |
tree | d8081ee5028076f96efd6f973856c6d00678b349 /src/ruby/spec | |
parent | c8b55a3a3188eea989815f5263a994b86a75afc8 (diff) |
Move timeout handling into the extension
Diffstat (limited to 'src/ruby/spec')
-rw-r--r-- | src/ruby/spec/generic/rpc_server_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/spec/generic/rpc_server_spec.rb b/src/ruby/spec/generic/rpc_server_spec.rb index 34e5cdcd04..f409d73e2f 100644 --- a/src/ruby/spec/generic/rpc_server_spec.rb +++ b/src/ruby/spec/generic/rpc_server_spec.rb @@ -364,7 +364,7 @@ describe GRPC::RpcServer do @srv.wait_till_running req = EchoMsg.new stub = SlowStub.new(@host, **@client_opts) - deadline = service.delay + 0.5 # wait for long enough + deadline = service.delay + 1.0 # wait for long enough expect(stub.an_rpc(req, deadline, k1: 'v1', k2: 'v2')).to be_a(EchoMsg) wanted_md = [{ 'k1' => 'v1', 'k2' => 'v2' }] expect(service.received_md).to eq(wanted_md) |