8181 env :
8282 << : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
8383
84- task :
85- name : " Win64 native [msvc]"
84+ win64_native_common : &win64_native_common
8685 << : *FILTER_TEMPLATE
8786 windows_container :
8887 cpu : 4
@@ -160,6 +159,22 @@ task:
160159 - cd %CIRRUS_WORKING_DIR%
161160 - python build_msvc\msvc-autogen.py
162161 - msbuild build_msvc\bitcoin.sln -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo
162+
163+ task :
164+ name : " Win64 native [msvc] (Short running functional tests)"
165+ << : *win64_native_common
166+ functional_tests_script :
167+ # 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".
168+ # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
169+ - netsh int ipv4 set dynamicport tcp start=1025 num=64511
170+ - netsh int ipv6 set dynamicport tcp start=1025 num=64511
171+ # Heavier tests are moved to a secondary task
172+ # Exclude feature_dbcrash and feature_fee_estimation, failing https://github.com/ElementsProject/elements/pull/1298
173+ - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude wallet_avoidreuse,feature_trim_headers,feature_dbcrash,feature_fee_estimation
174+
175+ task :
176+ name : " Win64 native [msvc] (Long running functional tests + unit tests)"
177+ << : *win64_native_common
163178 unit_tests_script :
164179 - src\test_elements.exe -l test_suite
165180 - src\bench_elements.exe > NUL
@@ -170,10 +185,9 @@ task:
170185 # See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
171186 - netsh int ipv4 set dynamicport tcp start=1025 num=64511
172187 - netsh int ipv6 set dynamicport tcp start=1025 num=64511
173- # Exclude feature_dbcrash for now due to timeout
174- # Exclude also wallet_avoidreuse due to timeout
175- # Ignore failures for now, need to investigate but we really don't use native win64 builds
176- - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 --extended --exclude feature_dbcrash,wallet_avoidreuse || true
188+ # Execute tests excluded from the main task
189+ # Ignore failures for now until https://github.com/ElementsProject/elements/pull/1298 is merged
190+ - python test\functional\test_runner.py --nocleanup --ci --quiet --combinedlogslen=4000 --jobs=4 --timeout-factor=8 wallet_avoidreuse feature_trim_headers feature_dbcrash feature_fee_estimation || true
177191
178192task :
179193 name : ' ARM [unit tests, no functional tests] [bullseye]'
0 commit comments