Merge pull request #5877 from vjpai/make_generic_payloads_great_again

Properly set server payload config in QPS tests
pull/5751/merge
Jan Tattermusch 9 years ago
commit f3d7638435
  1. 1
      test/cpp/qps/generic_async_streaming_ping_pong_test.cc
  2. 4
      test/cpp/qps/qps_driver.cc

@ -62,6 +62,7 @@ static void RunGenericAsyncStreamingPingPong() {
ServerConfig server_config;
server_config.set_server_type(ASYNC_GENERIC_SERVER);
server_config.set_async_server_threads(1);
*server_config.mutable_payload_config() = client_config.payload_config();
const auto result =
RunScenario(client_config, 1, server_config, 1, WARMUP, BENCHMARK, -2);

@ -171,6 +171,10 @@ static void QpsDriver() {
server_config.set_core_limit(FLAGS_server_core_limit);
}
if (FLAGS_bbuf_resp_size >= 0) {
*server_config.mutable_payload_config() = client_config.payload_config();
}
if (FLAGS_secure_test) {
// Set up security params
SecurityParams security;

Loading…
Cancel
Save