From c3718b926b67bb033f7cc0fdbf99f74a58242f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Thu, 8 Apr 2021 11:12:37 +0200 Subject: [PATCH] Use the same port selection method on all systems When system tests are run on Windows, they are assigned port ranges that are 100 ports wide and start from port number 5000. This is a different port assignment method than the one used on Unix systems. Drop the "-p" command line option from bin/tests/system/run.sh invocations used for starting system tests on Windows to unify the port assignment method used across all operating systems. --- bin/tests/system/parallel.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/tests/system/parallel.sh b/bin/tests/system/parallel.sh index 1bc5e2a685..230f287728 100644 --- a/bin/tests/system/parallel.sh +++ b/bin/tests/system/parallel.sh @@ -25,10 +25,8 @@ echo " exit 1; \\" echo " }" echo echo "test check: $PARALLELS" -port=${STARTPORT:-5000} for directory in $PARALLELDIRS ; do echo echo "test-$(echo "$directory" | tr _ -): check_interfaces" - echo " @${SHELL} ./run.sh -r -p $port $directory 2>&1 | tee test.output.$directory" - port=$((port+100)) + echo " @${SHELL} ./run.sh -r $directory 2>&1 | tee test.output.$directory" done