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/single_run_localhost.sh | |
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/single_run_localhost.sh')
-rwxr-xr-x | test/cpp/qps/single_run_localhost.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/single_run_localhost.sh b/test/cpp/qps/single_run_localhost.sh index 9d76f08f80..f5356f1834 100755 --- a/test/cpp/qps/single_run_localhost.sh +++ b/test/cpp/qps/single_run_localhost.sh @@ -42,9 +42,9 @@ NUMCPUS=`python2.7 -c 'import multiprocessing; print multiprocessing.cpu_count() make CONFIG=$config qps_worker qps_driver -j$NUMCPUS -bins/$config/qps_worker -driver_port 10000 -server_port 10001 & +bins/$config/qps_worker -driver_port 10000 & PID1=$! -bins/$config/qps_worker -driver_port 10010 -server_port 10011 & +bins/$config/qps_worker -driver_port 10010 & PID2=$! export QPS_WORKERS="localhost:10000,localhost:10010" |