aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/client_sync.cc
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-12-30 11:56:19 -0800
committerGravatar Vijay Pai <vpai@google.com>2015-12-30 11:56:19 -0800
commite4886680752e9181e0d848c3046e4a8d1eddffa3 (patch)
treeaa8c3e87443f33d328f0658c720c5c7ddc02cc13 /test/cpp/qps/client_sync.cc
parent994f8f76e77d15d7e54f05ec7794d624cdc5b158 (diff)
WIP
Diffstat (limited to 'test/cpp/qps/client_sync.cc')
-rw-r--r--test/cpp/qps/client_sync.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/cpp/qps/client_sync.cc b/test/cpp/qps/client_sync.cc
index 10d680860a..409fc26972 100644
--- a/test/cpp/qps/client_sync.cc
+++ b/test/cpp/qps/client_sync.cc
@@ -64,9 +64,12 @@
namespace grpc {
namespace testing {
-class SynchronousClient : public Client {
+class SynchronousClient :
+ public ClientImpl<BenchmarkService::Stub, SimpleRequest> {
public:
- SynchronousClient(const ClientConfig& config) : Client(config) {
+ SynchronousClient(const ClientConfig& config) :
+ ClientImpl<BenchmarkService::Stub,
+ SimpleRequest>(config, BenchmarkService::NewStub) {
num_threads_ =
config.outstanding_rpcs_per_channel() * config.client_channels();
responses_.resize(num_threads_);