diff options
author | Alexander Polcyn <apolcyn@google.com> | 2016-11-04 11:41:07 -0700 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2016-11-04 11:41:18 -0700 |
commit | a713b76d575e124cf2bc155ab54107930dad0fa8 (patch) | |
tree | fad762136a2350cda993b2eaced859959e5d7ef5 | |
parent | 20457a1f09465254d8627300996e9fb90928c18b (diff) |
change per job sleep of 5 seconds back to 3 in unit test
-rw-r--r-- | src/ruby/spec/generic/rpc_server_pool_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/spec/generic/rpc_server_pool_spec.rb b/src/ruby/spec/generic/rpc_server_pool_spec.rb index 8b2ab2dc4e..48ccaee510 100644 --- a/src/ruby/spec/generic/rpc_server_pool_spec.rb +++ b/src/ruby/spec/generic/rpc_server_pool_spec.rb @@ -55,7 +55,7 @@ describe GRPC::Pool do it 'it stops being ready after all workers jobs waiting or running' do p = Pool.new(5) p.start - job = proc { sleep(5) } # sleep so workers busy when done scheduling + job = proc { sleep(3) } # sleep so workers busy when done scheduling 5.times do expect(p.ready_for_work?).to be(true) p.schedule(&job) |