aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2017-01-04 12:48:43 -0800
committerGravatar GitHub <noreply@github.com>2017-01-04 12:48:43 -0800
commitd611160f0726ff94d012717527169871e19b7ae1 (patch)
treebe4740ebe2528f9d4997679fd4b047b1c542bc63
parent19cd772a6c4ac947b7a22f2de37daf61c6f9d80c (diff)
parentfa5e31c6e84510743eec29453b21aab160ebb598 (diff)
Merge pull request #9018 from apolcyn/fix_ruby_pool_flake
remove test of exception on ruby thread pool overload
-rw-r--r--src/ruby/spec/generic/rpc_server_pool_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ruby/spec/generic/rpc_server_pool_spec.rb b/src/ruby/spec/generic/rpc_server_pool_spec.rb
index 48ccaee510..69e8222cb9 100644
--- a/src/ruby/spec/generic/rpc_server_pool_spec.rb
+++ b/src/ruby/spec/generic/rpc_server_pool_spec.rb
@@ -94,18 +94,6 @@ describe GRPC::Pool do
expect(q.pop).to be(o)
p.stop
end
-
- it 'it throws an error if all of the workers have tasks to do' do
- p = Pool.new(5)
- p.start
- job = proc {}
- 5.times do
- expect(p.ready_for_work?).to be(true)
- p.schedule(&job)
- end
- expect { p.schedule(&job) }.to raise_error
- expect { p.schedule(&job) }.to raise_error
- end
end
describe '#stop' do