From 26e35e017060b2e09a84ce09521bca40ad5f8faf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 17 Apr 2022 18:48:12 +0200 Subject: [PATCH] Use port free even under macOS 12 port for running httpbin The default httpbin listening port 5000 is used by Monterrey (macOS 12) Control Center for its own needs, so use another port to avoid conflicts with it and the resulting failures when running wxWebRequest unit tests under this macOS version. --- build/tools/httpbin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/tools/httpbin.sh b/build/tools/httpbin.sh index 1e8c4e01f2..aef27150c5 100644 --- a/build/tools/httpbin.sh +++ b/build/tools/httpbin.sh @@ -66,8 +66,8 @@ httpbin_launch() { echo "Installing using `python3 -m pip --version`" python3 -m pip install $pip_explicit_deps httpbin --user - python3 -m httpbin.core 2>&1 >httpbin.log & - WX_TEST_WEBREQUEST_URL="http://localhost:5000" + python3 -m httpbin.core --port 50500 2>&1 >httpbin.log & + WX_TEST_WEBREQUEST_URL="http://localhost:50500" } httpbin_show_log() {