Skip to content

Commit

Permalink
Moved the test-perf http server to a different port.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Dec 4, 2017
1 parent e4dba3a commit 79b104b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions etc/ci/performance/test_all.sh
Expand Up @@ -8,7 +8,12 @@ set -o errexit
set -o nounset
set -o pipefail

base="http://localhost:8000"
# We run the test-perf server on a port that WPT doesn't use,
# to avoid WPT failures caused by picking up the wrong http server.
# This was the root cause of a total test suite failure:
# https://groups.google.com/forum/#!topic/mozilla.dev.servo/JlAZoRgcnpA
port="8123"
base="http://localhost:${port}"

while (( "${#}" ))
do
Expand Down Expand Up @@ -41,7 +46,7 @@ then echo "You didn't specify the engine to run: --servo or --gecko."; exit;
fi

echo "Starting the local server"
python3 -m http.server > /dev/null 2>&1 &
python3 -m http.server ${port} > /dev/null 2>&1 &

# TODO: enable the full manifest when #11087 is fixed
# https://github.com/servo/servo/issues/11087
Expand Down

0 comments on commit 79b104b

Please sign in to comment.