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
6049ebd8
Commit
6049ebd8
authored
9 years ago
by
Julien Boeuf
Browse files
Options
Downloads
Patches
Plain Diff
More C++ fixes (the merge did not quite work...).
parent
9a437c2c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/cpp/interop/stress_interop_client.cc
+2
-2
2 additions, 2 deletions
test/cpp/interop/stress_interop_client.cc
test/cpp/qps/driver.cc
+2
-2
2 additions, 2 deletions
test/cpp/qps/driver.cc
with
4 additions
and
4 deletions
test/cpp/interop/stress_interop_client.cc
+
2
−
2
View file @
6049ebd8
...
...
@@ -89,9 +89,9 @@ StressTestInteropClient::StressTestInteropClient(
test_duration_secs_
(
test_duration_secs
),
sleep_duration_ms_
(
sleep_duration_ms
)
{
// TODO(sreek): This will change once we add support for other tests
// that won't work with InsecureCredentials()
// that won't work with InsecureC
hannelC
redentials()
std
::
shared_ptr
<
Channel
>
channel
(
CreateChannel
(
server_address
,
InsecureCredentials
()));
CreateChannel
(
server_address
,
InsecureC
hannelC
redentials
()));
interop_client_
.
reset
(
new
InteropClient
(
channel
,
false
));
}
...
...
This diff is collapsed.
Click to expand it.
test/cpp/qps/driver.cc
+
2
−
2
View file @
6049ebd8
...
...
@@ -161,7 +161,7 @@ std::unique_ptr<ScenarioResult> RunScenario(
// where class contained in std::vector must have a copy constructor
auto
*
servers
=
new
ServerData
[
num_servers
];
for
(
size_t
i
=
0
;
i
<
num_servers
;
i
++
)
{
servers
[
i
].
stub
=
Worker
::
NewStub
(
servers
[
i
].
stub
=
Worker
Service
::
NewStub
(
CreateChannel
(
workers
[
i
],
InsecureChannelCredentials
()));
ServerArgs
args
;
result_server_config
=
server_config
;
...
...
@@ -188,7 +188,7 @@ std::unique_ptr<ScenarioResult> RunScenario(
// where class contained in std::vector must have a copy constructor
auto
*
clients
=
new
ClientData
[
num_clients
];
for
(
size_t
i
=
0
;
i
<
num_clients
;
i
++
)
{
clients
[
i
].
stub
=
Worker
::
NewStub
(
clients
[
i
].
stub
=
Worker
Service
::
NewStub
(
CreateChannel
(
workers
[
i
+
num_servers
],
InsecureChannelCredentials
()));
ClientArgs
args
;
result_client_config
=
client_config
;
...
...
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