aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/async_unary_ping_pong_test.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/async_unary_ping_pong_test.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/async_unary_ping_pong_test.cc')
-rw-r--r--test/cpp/qps/async_unary_ping_pong_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/cpp/qps/async_unary_ping_pong_test.cc b/test/cpp/qps/async_unary_ping_pong_test.cc
index efc599d698..c17ea6c2cc 100644
--- a/test/cpp/qps/async_unary_ping_pong_test.cc
+++ b/test/cpp/qps/async_unary_ping_pong_test.cc
@@ -52,17 +52,15 @@ static void RunAsyncUnaryPingPong() {
ClientConfig client_config;
client_config.set_client_type(ASYNC_CLIENT);
- client_config.set_use_tls(false);
client_config.set_outstanding_rpcs_per_channel(1);
client_config.set_client_channels(1);
- client_config.set_payload_size(1);
+ client_config.mutable_payload_config()->mutable_simple_params()->set_resp_size(1);
client_config.set_async_client_threads(1);
client_config.set_rpc_type(UNARY);
client_config.mutable_load_params()->mutable_closed_loop();
ServerConfig server_config;
server_config.set_server_type(ASYNC_SERVER);
- server_config.set_use_tls(false);
server_config.set_async_server_threads(1);
const auto result =