aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorGravatar Tim Emiola <temiola@google.com>2015-03-05 16:00:36 -0800
committerGravatar Tim Emiola <temiola@google.com>2015-03-06 11:38:36 -0800
commit485f0ed1405b1f803caaebdd100ffbe41f518f59 (patch)
treecdb5192ed8bc47bd55dd010638f10315d4b9a57b /src/ruby
parent4c7caf61803ea2acd9b06730fa8e1d22912a2520 (diff)
Corrects the host used in the client_server spec tests
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/spec/client_server_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ruby/spec/client_server_spec.rb b/src/ruby/spec/client_server_spec.rb
index 030ff328f2..35d9db1a89 100644
--- a/src/ruby/spec/client_server_spec.rb
+++ b/src/ruby/spec/client_server_spec.rb
@@ -95,7 +95,7 @@ shared_context 'setup: tags' do
end
def new_client_call
- @ch.create_call('/method', 'localhost', deadline)
+ @ch.create_call('/method', 'foo.test.google.fr', deadline)
end
end
@@ -346,7 +346,7 @@ end
describe 'the secure http client/server' do
before(:example) do
certs = load_test_certs
- server_host = 'localhost:0'
+ server_host = '0.0.0.0:0'
@client_queue = GRPC::Core::CompletionQueue.new
@server_queue = GRPC::Core::CompletionQueue.new
server_creds = GRPC::Core::ServerCredentials.new(nil, certs[1], certs[2])
@@ -363,10 +363,10 @@ describe 'the secure http client/server' do
end
# TODO: uncomment after updating the to the new c api
- # it_behaves_like 'basic GRPC message delivery is OK' do
- # end
+ it_behaves_like 'basic GRPC message delivery is OK' do
+ end
# TODO: uncomment after updating the to the new c api
- # it_behaves_like 'GRPC metadata delivery works OK' do
- # end
+ it_behaves_like 'GRPC metadata delivery works OK' do
+ end
end