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
c5b39792
Commit
c5b39792
authored
10 years ago
by
Vijay Pai
Browse files
Options
Downloads
Patches
Plain Diff
test return value of rpc parse
parent
653803e3
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
test/cpp/qps/qps_driver.cc
+2
-3
2 additions, 3 deletions
test/cpp/qps/qps_driver.cc
with
2 additions
and
3 deletions
test/cpp/qps/qps_driver.cc
+
2
−
3
View file @
c5b39792
...
@@ -42,8 +42,7 @@ DEFINE_int32(num_servers, 1, "Number of server binaries");
...
@@ -42,8 +42,7 @@ DEFINE_int32(num_servers, 1, "Number of server binaries");
// Common config
// Common config
DEFINE_bool
(
enable_ssl
,
false
,
"Use SSL"
);
DEFINE_bool
(
enable_ssl
,
false
,
"Use SSL"
);
DEFINE_string
(
rpc_type
,
"UNARY_TEST"
,
DEFINE_string
(
rpc_type
,
"UNARY"
,
"Type of RPC: UNARY or STREAMING"
);
"Type of RPC: UNARY_TEST or STREAMING_TEST"
);
// Server config
// Server config
DEFINE_int32
(
server_threads
,
1
,
"Number of server threads"
);
DEFINE_int32
(
server_threads
,
1
,
"Number of server threads"
);
...
@@ -77,7 +76,7 @@ int main(int argc, char **argv) {
...
@@ -77,7 +76,7 @@ int main(int argc, char **argv) {
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
ParseCommandLineFlags
(
&
argc
,
&
argv
,
true
);
RpcType
rpc_type
;
RpcType
rpc_type
;
RpcType_Parse
(
FLAGS_rpc_type
,
&
rpc_type
);
GPR_ASSERT
(
RpcType_Parse
(
FLAGS_rpc_type
,
&
rpc_type
)
)
;
ClientType
client_type
;
ClientType
client_type
;
ServerType
server_type
;
ServerType
server_type
;
...
...
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