aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/qps_worker.h
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-01-19 10:59:42 -0800
committerGravatar Vijay Pai <vpai@google.com>2016-01-19 10:59:42 -0800
commitd3ea2708cc94e8d69b1d6d4d0e3933e10245fa67 (patch)
treee4b341ee5ce3ed9bba9e367cc4cbb80bf72c40b0 /test/cpp/qps/qps_worker.h
parent3bd7ecce16d8bda27ac1268641183512b54f4721 (diff)
Re-enable explicit specification of server port for qps worker. Also
add in a check that we don't try to use generic testing for sync or unary.
Diffstat (limited to 'test/cpp/qps/qps_worker.h')
-rw-r--r--test/cpp/qps/qps_worker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/qps_worker.h b/test/cpp/qps/qps_worker.h
index 0db88ad3d1..9edae31228 100644
--- a/test/cpp/qps/qps_worker.h
+++ b/test/cpp/qps/qps_worker.h
@@ -46,7 +46,7 @@ class WorkerServiceImpl;
class QpsWorker {
public:
- explicit QpsWorker(int driver_port);
+ explicit QpsWorker(int driver_port, int server_port = 0);
~QpsWorker();
private: