81
81
env :
82
82
<< : *CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
83
83
84
- task :
85
- name : " Win64 native [msvc]"
84
+ win64_native_common : &win64_native_common
86
85
<< : *FILTER_TEMPLATE
87
86
windows_container :
88
87
cpu : 4
@@ -160,6 +159,22 @@ task:
160
159
- cd %CIRRUS_WORKING_DIR%
161
160
- python build_msvc\msvc-autogen.py
162
161
- 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
163
178
unit_tests_script :
164
179
- src\test_elements.exe -l test_suite
165
180
- src\bench_elements.exe > NUL
@@ -170,10 +185,9 @@ task:
170
185
# See: https://docs.microsoft.com/en-us/biztalk/technical-guides/settings-that-can-be-modified-to-improve-network-performance
171
186
- netsh int ipv4 set dynamicport tcp start=1025 num=64511
172
187
- 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
177
191
178
192
task :
179
193
name : ' ARM [unit tests, no functional tests] [bullseye]'
0 commit comments