aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/spec
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanley.cheung@gmail.com>2015-08-31 16:04:28 -0700
committerGravatar Stanley Cheung <stanley.cheung@gmail.com>2015-08-31 16:04:28 -0700
commitc88e8345712b6a6748e09954ded125914b9fe40c (patch)
treec95145f43c3e4b1514a638e73a6fad3559c9436e /src/ruby/spec
parentcbdfaba7ae41634c66d1a32cbc2ea674a34be9c6 (diff)
parent391664afa1e7fc79b7817658699fc7886f70adbb (diff)
Merge pull request #3171 from tbetbetbe/grpc_ruby_improve_test_stability
Improves test stability
Diffstat (limited to 'src/ruby/spec')
-rw-r--r--src/ruby/spec/client_server_spec.rb3
-rw-r--r--src/ruby/spec/pb/health/checker_spec.rb1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ruby/spec/client_server_spec.rb b/src/ruby/spec/client_server_spec.rb
index 387f2baec2..ad0fb26896 100644
--- a/src/ruby/spec/client_server_spec.rb
+++ b/src/ruby/spec/client_server_spec.rb
@@ -28,7 +28,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
require 'grpc'
-require 'spec_helper'
include GRPC::Core
@@ -41,7 +40,7 @@ shared_context 'setup: tags' do
end
def deadline
- Time.now + 2
+ Time.now + 5
end
def server_allows_client_to_proceed
diff --git a/src/ruby/spec/pb/health/checker_spec.rb b/src/ruby/spec/pb/health/checker_spec.rb
index d7b7535cbe..9bc82638c7 100644
--- a/src/ruby/spec/pb/health/checker_spec.rb
+++ b/src/ruby/spec/pb/health/checker_spec.rb
@@ -179,7 +179,6 @@ describe Grpc::Health::Checker do
describe 'running on RpcServer' do
RpcServer = GRPC::RpcServer
- StatusCodes = GRPC::Core::StatusCodes
CheckerStub = Grpc::Health::Checker.rpc_stub_class
before(:each) do