remove hardcoding of clients/server names in run_sweep_performance.sh

pull/8399/head
Matt Kwong 8 years ago
parent f04942592a
commit 5100ae5509
  1. 5
      tools/jenkins/run_sweep_performance.sh

@ -31,6 +31,9 @@
# This script is invoked by Jenkins and runs full performance test suite. # This script is invoked by Jenkins and runs full performance test suite.
set -ex set -ex
SERVER_HOST=${1:-grpc-performance-server-32core}
CLIENT_HOST1=${2:-grpc-performance-client-32core}
CLIENT_HOST2=${3:-grpc-performance-client2-32core}
# Enter the gRPC repo root # Enter the gRPC repo root
cd $(dirname $0)/../.. cd $(dirname $0)/../..
@ -39,7 +42,7 @@ tools/run_tests/run_performance_tests.py \
-l c++ \ -l c++ \
--category sweep \ --category sweep \
--bq_result_table performance_test.performance_experiment_32core \ --bq_result_table performance_test.performance_experiment_32core \
--remote_worker_host grpc-performance-server-32core grpc-performance-client-32core grpc-performance-client2-32core \ --remote_worker_host ${SERVER_HOST} ${CLIENT_HOST1} ${CLIENT_HOST2} \
|| EXIT_CODE=1 || EXIT_CODE=1
exit $EXIT_CODE exit $EXIT_CODE

Loading…
Cancel
Save