aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2015-06-03 10:33:41 -0700
committerGravatar vjpai <vpai@google.com>2015-06-03 10:33:41 -0700
commit7abc4e720c1c3bd0434d106ce6dbfb8681bdc2fd (patch)
tree664a7fd2dc75024a2f99c7fd431add5b9f3019f4 /test/cpp/qps
parentafc3ee89ee1485e90129a9449b1f774481b38030 (diff)
Invoke LoadTest setup
Diffstat (limited to 'test/cpp/qps')
-rw-r--r--test/cpp/qps/client_async.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/qps/client_async.cc b/test/cpp/qps/client_async.cc
index bd77424578..3d5ff5295e 100644
--- a/test/cpp/qps/client_async.cc
+++ b/test/cpp/qps/client_async.cc
@@ -143,6 +143,9 @@ class AsyncClient : public Client {
std::function<ClientRpcContext*(CompletionQueue*, TestService::Stub*,
const SimpleRequest&)> setup_ctx) :
Client(config), channel_rpc_lock_(config.client_channels()) {
+
+ SetupLoadTest(config, num_threads_);
+
for (int i = 0; i < config.async_client_threads(); i++) {
cli_cqs_.emplace_back(new CompletionQueue);
if (!closed_loop_) {