diff options
author | Alexander Polcyn <apolcyn@google.com> | 2017-01-12 11:32:15 -0800 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2017-01-12 11:32:15 -0800 |
commit | 62a7ca8c9516b071593e7cea63d3466678589085 (patch) | |
tree | d1c26202e02f8a7114215a4354292827fe91d1ba /test/cpp | |
parent | 20ce39a4fe664b73cd271044e59377ee4d91d950 (diff) |
re-run clang-format.sh
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/qps/driver.cc | 7 | ||||
-rw-r--r-- | test/cpp/qps/qps_json_driver.cc | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index 7494ced460..74fe3662c1 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -262,8 +262,9 @@ std::unique_ptr<ScenarioResult> RunScenario( CreateChannel(workers[i], InsecureChannelCredentials())); ServerConfig server_config = initial_server_config; - if(server_config.core_limit() != 0) { - gpr_log(GPR_ERROR, "server config core limit is set but ignored by driver"); + if (server_config.core_limit() != 0) { + gpr_log(GPR_ERROR, + "server config core limit is set but ignored by driver"); } ServerArgs args; @@ -308,7 +309,7 @@ std::unique_ptr<ScenarioResult> RunScenario( CreateChannel(worker, InsecureChannelCredentials())); ClientConfig per_client_config = client_config; - if(initial_client_config.core_limit() != 0) { + if (initial_client_config.core_limit() != 0) { gpr_log(GPR_ERROR, "client config core limit set but ignored"); } diff --git a/test/cpp/qps/qps_json_driver.cc b/test/cpp/qps/qps_json_driver.cc index ca4c686578..db77a82746 100644 --- a/test/cpp/qps/qps_json_driver.cc +++ b/test/cpp/qps/qps_json_driver.cc @@ -77,12 +77,12 @@ namespace testing { static std::unique_ptr<ScenarioResult> RunAndReport(const Scenario& scenario, bool* success) { std::cerr << "RUNNING SCENARIO: " << scenario.name() << "\n"; - auto result = RunScenario( - scenario.client_config(), scenario.num_clients(), - scenario.server_config(), scenario.num_servers(), - scenario.warmup_seconds(), scenario.benchmark_seconds(), - scenario.spawn_local_worker_count(), - FLAGS_qps_server_target_override.c_str()); + auto result = + RunScenario(scenario.client_config(), scenario.num_clients(), + scenario.server_config(), scenario.num_servers(), + scenario.warmup_seconds(), scenario.benchmark_seconds(), + scenario.spawn_local_worker_count(), + FLAGS_qps_server_target_override.c_str()); // Amend the result with scenario config. Eventually we should adjust // RunScenario contract so we don't need to touch the result here. |