Fixes #18548.
The solution suggested in #18548 (comment).
Also more functional tests added to the native Windows task.
Fixes #18548.
The solution suggested in #18548 (comment).
Also more functional tests added to the native Windows task.
This change should mitigate "OSError: [WinError 10048] Only one usage of
each socket address (protocol/network address/port) is normally
permitted".
146@@ -147,6 +147,10 @@ task:
147 - python test\util\test_runner.py
148 - python test\util\rpcauth-test.py
149 functional_tests_script:
150+ # Increase the dynamic port range to the maximum allowed value to mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
151+ # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
152+ - netsh int ipv4 set dynamicport tcp start=1025 num=64511
153+ - netsh int ipv6 set dynamicport tcp start=1025 num=64511
[TEST_RUNNER_PORT_MIN, TEST_RUNNER_PORT_MIN + 2 * range]
([14000, 24000]
)?
feature_bind_extra.py
and feature_proxy.py
. The former is skipped on Windows, but the latter still could be a source of port collisions.