Skip to content

Commit 8e08a4b

Browse files
committed
ci: Increase the dynamic port range to the maximum on native Windows
This change should mitigate "OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted".
1 parent 01b5cfb commit 8e08a4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cirrus.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ task:
147147
- python test\util\test_runner.py
148148
- python test\util\rpcauth-test.py
149149
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
150154
# TODO enable '--extended' and drop '--exclude'.
151155
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --exclude %EXCLUDE_TESTS% --failfast
152156

0 commit comments

Comments
 (0)