diff options
author | vjpai <vpai@google.com> | 2015-11-04 00:19:09 -0800 |
---|---|---|
committer | vjpai <vpai@google.com> | 2015-11-04 00:19:09 -0800 |
commit | 780a7f205d81eb4a63a4040329b527c3082fbf79 (patch) | |
tree | 8298c4f8c1745becb6dcd0c91b25116627e6680b /test/cpp/qps/server_sync.cc | |
parent | d08a738166e7f293d4590bc852e102ebcbd2239d (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.cc | 2 |
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_); |