aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/driver.h
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2018-11-20 13:36:37 -0800
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-11-21 10:13:10 -0800
commitd9dbb76969632489f0304128474e0706aaed340f (patch)
treed4e3f86215f303893970a835d5649977a46fa9c9 /test/cpp/qps/driver.h
parent637e4ea9fbcc41508a26afc5cf41ff4497a3217c (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.h9
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