aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/performance
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2018-08-03 14:40:25 -0700
committerGravatar murgatroid99 <mlumish@google.com>2018-08-03 14:40:25 -0700
commit70a8aa4a7d145b230aa007b5d3da0256a90c0141 (patch)
tree2d6fd310155e8a89565fb6544eea6aea47cd4510 /tools/run_tests/performance
parent9324ac67287936619199c03755c54af8da6a3486 (diff)
Make Node perf build script idempotent, update to newer Node version
Diffstat (limited to 'tools/run_tests/performance')
-rwxr-xr-xtools/run_tests/performance/build_performance_node.sh4
-rwxr-xr-xtools/run_tests/performance/run_worker_node.sh2
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/run_tests/performance/build_performance_node.sh b/tools/run_tests/performance/build_performance_node.sh
index 74adde91f3..bd765f8a15 100755
--- a/tools/run_tests/performance/build_performance_node.sh
+++ b/tools/run_tests/performance/build_performance_node.sh
@@ -17,7 +17,7 @@ set +ex
. "$HOME/.nvm/nvm.sh"
-nvm install 9
+nvm install 10
set -ex
@@ -25,4 +25,6 @@ cd "$(dirname "$0")/../../../../grpc-node"
npm install
+./node_modules/.bin/gulp clean.all
+
./node_modules/.bin/gulp setup
diff --git a/tools/run_tests/performance/run_worker_node.sh b/tools/run_tests/performance/run_worker_node.sh
index a9bbdccbc1..3e5dd18edb 100755
--- a/tools/run_tests/performance/run_worker_node.sh
+++ b/tools/run_tests/performance/run_worker_node.sh
@@ -15,7 +15,7 @@
. "$HOME/.nvm/nvm.sh"
-nvm use 9
+nvm use 10
set -ex