Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
485f0ed1
Commit
485f0ed1
authored
10 years ago
by
Tim Emiola
Browse files
Options
Downloads
Patches
Plain Diff
Corrects the host used in the client_server spec tests
parent
4c7caf61
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ruby/spec/client_server_spec.rb
+6
-6
6 additions, 6 deletions
src/ruby/spec/client_server_spec.rb
with
6 additions
and
6 deletions
src/ruby/spec/client_server_spec.rb
+
6
−
6
View file @
485f0ed1
...
@@ -95,7 +95,7 @@ shared_context 'setup: tags' do
...
@@ -95,7 +95,7 @@ shared_context 'setup: tags' do
end
end
def
new_client_call
def
new_client_call
@ch
.
create_call
(
'/method'
,
'
localhost
'
,
deadline
)
@ch
.
create_call
(
'/method'
,
'
foo.test.google.fr
'
,
deadline
)
end
end
end
end
...
@@ -346,7 +346,7 @@ end
...
@@ -346,7 +346,7 @@ end
describe
'the secure http client/server'
do
describe
'the secure http client/server'
do
before
(
:example
)
do
before
(
:example
)
do
certs
=
load_test_certs
certs
=
load_test_certs
server_host
=
'
localhost
:0'
server_host
=
'
0.0.0.0
:0'
@client_queue
=
GRPC
::
Core
::
CompletionQueue
.
new
@client_queue
=
GRPC
::
Core
::
CompletionQueue
.
new
@server_queue
=
GRPC
::
Core
::
CompletionQueue
.
new
@server_queue
=
GRPC
::
Core
::
CompletionQueue
.
new
server_creds
=
GRPC
::
Core
::
ServerCredentials
.
new
(
nil
,
certs
[
1
],
certs
[
2
])
server_creds
=
GRPC
::
Core
::
ServerCredentials
.
new
(
nil
,
certs
[
1
],
certs
[
2
])
...
@@ -363,10 +363,10 @@ describe 'the secure http client/server' do
...
@@ -363,10 +363,10 @@ describe 'the secure http client/server' do
end
end
# TODO: uncomment after updating the to the new c api
# TODO: uncomment after updating the to the new c api
#
it_behaves_like 'basic GRPC message delivery is OK' do
it_behaves_like
'basic GRPC message delivery is OK'
do
#
end
end
# TODO: uncomment after updating the to the new c api
# TODO: uncomment after updating the to the new c api
#
it_behaves_like 'GRPC metadata delivery works OK' do
it_behaves_like
'GRPC metadata delivery works OK'
do
#
end
end
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment