diff options
author | Alexander Polcyn <apolcyn@google.com> | 2018-11-20 13:36:37 -0800 |
---|---|---|
committer | Alexander Polcyn <apolcyn@google.com> | 2018-11-21 10:13:10 -0800 |
commit | d9dbb76969632489f0304128474e0706aaed340f (patch) | |
tree | d4e3f86215f303893970a835d5649977a46fa9c9 /test/cpp/qps/driver.h | |
parent | 637e4ea9fbcc41508a26afc5cf41ff4497a3217c (diff) |
Allow specifying specific credential types to reach specific works in QPS benchmark driver
Diffstat (limited to 'test/cpp/qps/driver.h')
-rw-r--r-- | test/cpp/qps/driver.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/cpp/qps/driver.h b/test/cpp/qps/driver.h index cda89f7ddf..568871d2da 100644 --- a/test/cpp/qps/driver.h +++ b/test/cpp/qps/driver.h @@ -32,10 +32,13 @@ std::unique_ptr<ScenarioResult> RunScenario( const grpc::testing::ServerConfig& server_config, size_t num_servers, int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count, const grpc::string& qps_server_target_override, - const grpc::string& credential_type, bool run_inproc, - int32_t median_latency_collection_interval_millis); + const grpc::string& credential_type, + const std::map<std::string, std::string>& per_worker_credential_types, + bool run_inproc, int32_t median_latency_collection_interval_millis); -bool RunQuit(const grpc::string& credential_type); +bool RunQuit( + const grpc::string& credential_type, + const std::map<std::string, std::string>& per_worker_credential_types); } // namespace testing } // namespace grpc |