aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar matt-kwong <mattkwong@google.com>2016-10-17 15:26:00 -0700
committerGravatar GitHub <noreply@github.com>2016-10-17 15:26:00 -0700
commit15586f27fa21a497cb3a4ba4d3ca5d3a381127f0 (patch)
treebe47c1541dd4109dab0ef707ac2c3dd80db52217 /tools
parentbb4c5f3d3fd5217c680bbdf3c429b73d7662bbab (diff)
parent5100ae5509086b3817a404c4f4d7860554ddd336 (diff)
Merge pull request #8399 from matt-kwong/add-sweep-perf-args
Remove hardcoding of clients/server names in run_sweep_performance.sh
Diffstat (limited to 'tools')
-rwxr-xr-xtools/jenkins/run_sweep_performance.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/jenkins/run_sweep_performance.sh b/tools/jenkins/run_sweep_performance.sh
index 6cd7a9129b..3b22e25a45 100755
--- a/tools/jenkins/run_sweep_performance.sh
+++ b/tools/jenkins/run_sweep_performance.sh
@@ -31,6 +31,9 @@
# This script is invoked by Jenkins and runs full performance test suite.
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
cd $(dirname $0)/../..
@@ -39,7 +42,7 @@ tools/run_tests/run_performance_tests.py \
-l c++ \
--category sweep \
--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 $EXIT_CODE