diff options
author | murgatroid99 <mlumish@google.com> | 2016-03-25 15:52:42 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-03-25 15:52:42 -0700 |
commit | f22f4c60bad22746b4e76928f82a3e35872f63e6 (patch) | |
tree | e55fcbe2a8e8f513bacadf5562c430213e5c345c /test/distrib | |
parent | def177b7febd6f96eed31628144cba964f1bae77 (diff) |
Node distrib test: don't start all static servers on the same port
Diffstat (limited to 'test/distrib')
-rwxr-xr-x | test/distrib/node/run_distrib_test.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/distrib/node/run_distrib_test.sh b/test/distrib/node/run_distrib_test.sh index 18b339399b..e9183a203b 100755 --- a/test/distrib/node/run_distrib_test.sh +++ b/test/distrib/node/run_distrib_test.sh @@ -38,13 +38,10 @@ set -ex npm install -g node-static -# Kill off existing static servers -kill -9 $(ps aux | grep '[n]ode .*static' | awk '{print $2}') || true - STATIC_SERVER=127.0.0.1 -STATIC_PORT=8080 +STATIC_PORT=$$ -# Serves the input_artifacts directory statically at localhost:8080 +# Serves the input_artifacts directory statically at localhost: static "$EXTERNAL_GIT_ROOT/input_artifacts" -a $STATIC_SERVER -p $STATIC_PORT & STATIC_PID=$! |