diff options
author | 2015-11-02 16:45:08 -0800 | |
---|---|---|
committer | 2015-11-02 16:45:08 -0800 | |
commit | d08a738166e7f293d4590bc852e102ebcbd2239d (patch) | |
tree | 4627fe80f4cfaa1bf55575f8d55541a7af66e6b4 /test/cpp/qps/async_unary_ping_pong_test.cc | |
parent | 9b14e15165e3fa0ab183453bdf30fd6f84ccc594 (diff) |
Cleanup some names
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
Diffstat (limited to 'test/cpp/qps/async_unary_ping_pong_test.cc')
-rw-r--r-- | test/cpp/qps/async_unary_ping_pong_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/async_unary_ping_pong_test.cc b/test/cpp/qps/async_unary_ping_pong_test.cc index caed835325..efc599d698 100644 --- a/test/cpp/qps/async_unary_ping_pong_test.cc +++ b/test/cpp/qps/async_unary_ping_pong_test.cc @@ -58,12 +58,12 @@ static void RunAsyncUnaryPingPong() { client_config.set_payload_size(1); client_config.set_async_client_threads(1); client_config.set_rpc_type(UNARY); - client_config.mutable_load_params()->mutable_closed(); + 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_threads(1); + server_config.set_async_server_threads(1); const auto result = RunScenario(client_config, 1, server_config, 1, WARMUP, BENCHMARK, -2); |