diff options
author | Vijay Pai <vpai@google.com> | 2017-08-24 10:42:27 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2017-10-19 14:29:13 -0700 |
commit | 088112fea12ec364990909cda3a96e7d792480b3 (patch) | |
tree | 1fde83a8b7332891ccbb409da0ac97abd3ebe68d /test/cpp/qps/qps_openloop_test.cc | |
parent | ac581ee24b24d9088d8755ce45daa4ec471ab951 (diff) |
Create inproc version of QPS test and add a few simple tests of this to standard testing suite.
Diffstat (limited to 'test/cpp/qps/qps_openloop_test.cc')
-rw-r--r-- | test/cpp/qps/qps_openloop_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/cpp/qps/qps_openloop_test.cc b/test/cpp/qps/qps_openloop_test.cc index 069b3fa076..df929b9811 100644 --- a/test/cpp/qps/qps_openloop_test.cc +++ b/test/cpp/qps/qps_openloop_test.cc @@ -24,6 +24,7 @@ #include "test/cpp/qps/benchmark_config.h" #include "test/cpp/qps/driver.h" #include "test/cpp/qps/report.h" +#include "test/cpp/qps/server.h" #include "test/cpp/util/test_config.h" #include "test/cpp/util/test_credentials_provider.h" @@ -49,8 +50,9 @@ static void RunQPS() { server_config.set_server_type(ASYNC_SERVER); server_config.set_async_server_threads(8); - const auto result = RunScenario(client_config, 1, server_config, 1, WARMUP, - BENCHMARK, -2, "", kInsecureCredentialsType); + const auto result = + RunScenario(client_config, 1, server_config, 1, WARMUP, BENCHMARK, -2, "", + kInsecureCredentialsType, false); GetReporter()->ReportQPSPerCore(*result); GetReporter()->ReportLatency(*result); |