diff options
author | 2015-10-29 02:23:11 -0700 | |
---|---|---|
committer | 2015-10-29 02:23:11 -0700 | |
commit | 72a633213815f19ac04b51331287e3f7b075dcc1 (patch) | |
tree | 07dc4d99af879455da57b4eca9bc7a7016852ff7 /test/cpp/qps/worker.cc | |
parent | 119c103ab00f309a66de6f1cb78c648eb3c4e2cc (diff) |
QPS worker no longer needs to specify server port on command line. This is part
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
Diffstat (limited to 'test/cpp/qps/worker.cc')
-rw-r--r-- | test/cpp/qps/worker.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cpp/qps/worker.cc b/test/cpp/qps/worker.cc index 935e4853a6..430ffb7cdc 100644 --- a/test/cpp/qps/worker.cc +++ b/test/cpp/qps/worker.cc @@ -43,8 +43,7 @@ #include "test/cpp/qps/qps_worker.h" #include "test/cpp/util/test_config.h" -DEFINE_int32(driver_port, 0, "Driver server port."); -DEFINE_int32(server_port, 0, "Spawned server port."); +DEFINE_int32(driver_port, 0, "Port for communication with driver"); static bool got_sigint = false; @@ -54,7 +53,7 @@ namespace grpc { namespace testing { static void RunServer() { - QpsWorker worker(FLAGS_driver_port, FLAGS_server_port); + QpsWorker worker(FLAGS_driver_port); while (!got_sigint) { gpr_sleep_until(gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), |