From 79b104bde70b7f6e4dca4bd6ed8b276844c85f07 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Mon, 4 Dec 2017 12:47:32 -0600 Subject: [PATCH] Moved the test-perf http server to a different port. --- etc/ci/performance/test_all.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/ci/performance/test_all.sh b/etc/ci/performance/test_all.sh index d62ddd5abec..dd16287efdd 100755 --- a/etc/ci/performance/test_all.sh +++ b/etc/ci/performance/test_all.sh @@ -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 @@ -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