Node distrib test: don't start all static servers on the same port

pull/5961/head
murgatroid99 9 years ago
parent def177b7fe
commit f22f4c60ba
  1. 7
      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=$!

Loading…
Cancel
Save