aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-09-25 16:55:19 -0700
committerGravatar Tim Emiola <temiola@google.com>2015-09-25 16:55:19 -0700
commit557d26f6438e40a482f65ea5f5e9d2990a59fa6e (patch)
treec4d8a9f3bf6cb3db1a289b2fcd866a2e688fd0cf /src/ruby
parent0a775b38c754d8d756838d1c05d6564cc8ba928e (diff)
Remove a bad flaky rpc server test
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/spec/generic/rpc_server_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ruby/spec/generic/rpc_server_spec.rb b/src/ruby/spec/generic/rpc_server_spec.rb
index e484a9ea50..efe07f734e 100644
--- a/src/ruby/spec/generic/rpc_server_spec.rb
+++ b/src/ruby/spec/generic/rpc_server_spec.rb
@@ -405,22 +405,6 @@ describe GRPC::RpcServer do
t.join
end
- it 'should not receive metadata if the client times out', server: true do
- service = SlowService.new
- @srv.handle(service)
- t = Thread.new { @srv.run }
- @srv.wait_till_running
- req = EchoMsg.new
- stub = SlowStub.new(@host, **client_opts)
- timeout = 0.1 # too short for SlowService to respond
- blk = proc { stub.an_rpc(req, timeout: timeout, k1: 'v1', k2: 'v2') }
- expect(&blk).to raise_error GRPC::BadStatus
- wanted_md = []
- expect(service.received_md).to eq(wanted_md)
- @srv.stop
- t.join
- end
-
it 'should handle cancellation correctly', server: true do
service = SlowService.new
@srv.handle(service)