aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-24 19:51:45 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-24 19:51:45 +0300
commit8e08a4b6ce13dcf20c026c832dc5810a54c8390b (patch)
treef8b4dc8333775f3456a92ba24c1f6faee6215df9 /.cirrus.yml
parent01b5cfb9511a22ce4e1525d5e9f2185c6e4401bd (diff)
downloadbitcoin-8e08a4b6ce13dcf20c026c832dc5810a54c8390b.tar.xz
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".
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index f15afca005..7a98af8920 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -147,6 +147,10 @@ task:
- python test\util\test_runner.py
- python test\util\rpcauth-test.py
functional_tests_script:
+ # 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".
+ # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
+ - netsh int ipv4 set dynamicport tcp start=1025 num=64511
+ - netsh int ipv6 set dynamicport tcp start=1025 num=64511
# TODO enable '--extended' and drop '--exclude'.
- python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --exclude %EXCLUDE_TESTS% --failfast