diff options
author | Tim Emiola <temiola@google.com> | 2015-01-29 13:25:08 -0800 |
---|---|---|
committer | Tim Emiola <temiola@google.com> | 2015-01-29 13:25:08 -0800 |
commit | 91044c10d1cf011550aed5a39ae557e257647634 (patch) | |
tree | e60722e55e15118ae2ff506b1c5719ad9a8d8ee3 /src/ruby | |
parent | dd73f10122713f01085b3a364cfc900f602d97d2 (diff) |
Add tagging to rpc_server multi-threading tests to isolate in their own test suite
Diffstat (limited to 'src/ruby')
-rw-r--r-- | src/ruby/spec/generic/rpc_server_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ruby/spec/generic/rpc_server_spec.rb b/src/ruby/spec/generic/rpc_server_spec.rb index e083bc1e9d..0ec79572e7 100644 --- a/src/ruby/spec/generic/rpc_server_spec.rb +++ b/src/ruby/spec/generic/rpc_server_spec.rb @@ -323,7 +323,7 @@ describe GRPC::RpcServer do end describe 'when running' do - it 'should return NOT_FOUND status for requests on unknown methods' do + it 'should return NOT_FOUND status on unknown methods', server: true do @srv.handle(EchoService) t = Thread.new { @srv.run } @srv.wait_till_running @@ -338,7 +338,7 @@ describe GRPC::RpcServer do t.join end - it 'should obtain responses for multiple sequential requests' do + it 'should handle multiple sequential requests', server: true do @srv.handle(EchoService) t = Thread.new { @srv.run } @srv.wait_till_running @@ -350,7 +350,7 @@ describe GRPC::RpcServer do t.join end - it 'should obtain responses for multiple parallel requests' do + it 'should handle multiple parallel requests', server: true do @srv.handle(EchoService) Thread.new { @srv.run } @srv.wait_till_running @@ -368,7 +368,7 @@ describe GRPC::RpcServer do threads.each(&:join) end - it 'should return UNAVAILABLE status if there too many jobs' do + it 'should return UNAVAILABLE on too many jobs', server: true do opts = { a_channel_arg: 'an_arg', server_override: @server, |