aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server_sync.cc
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2015-11-04 00:19:09 -0800
committerGravatar vjpai <vpai@google.com>2015-11-04 00:19:09 -0800
commit780a7f205d81eb4a63a4040329b527c3082fbf79 (patch)
tree8298c4f8c1745becb6dcd0c91b25116627e6680b /test/cpp/qps/server_sync.cc
parentd08a738166e7f293d4590bc852e102ebcbd2239d (diff)
Add in security support, make payload protos configurable
Have not yet added tests with security support, coming soon
Diffstat (limited to 'test/cpp/qps/server_sync.cc')
-rw-r--r--test/cpp/qps/server_sync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server_sync.cc b/test/cpp/qps/server_sync.cc
index feca7e2ac2..c235069e20 100644
--- a/test/cpp/qps/server_sync.cc
+++ b/test/cpp/qps/server_sync.cc
@@ -91,7 +91,7 @@ class SynchronousServer GRPC_FINAL : public grpc::testing::Server {
char* server_address = NULL;
gpr_join_host_port(&server_address, "::", Port());
- builder.AddListeningPort(server_address, InsecureServerCredentials());
+ builder.AddListeningPort(server_address, Server::CreateServerCredentials(config));
gpr_free(server_address);
builder.RegisterService(&service_);