Commit 3e0b4da
authored
[CI] Run TimeZoneInfo tests in parallel. (#4161)
Create RunAllTests variable
Creates a new RunAllTests variable that defaults to false. This variable is used as a condition to trigger running our extended regression test suite.
This variable is set to true in the following ways:
The master pipeline sets the value to true so all commits to master run the full suite.
The value is set to true for a PR build if:
The branch name contains mono-
The branch is not a fork
This allows our Mono bump branches PRs (which take the form of mono-2019-12) to run the full suite, as there is a much higher chance of breakage for these commits.
If you are queuing a new run from the UI, clicking the Variables option will allow you to set it to true for that run. (The variable shows up with the default value so you don't have to remember its name.)
Put extended suites behind RunAllTests variable
The following test suites are behind this new variable:
Integrated Regression - MacOS
Integrated Regression - Windows
TimeZoneInfo - MacOS
The effective changes are:
Previously the integrated regression suite also ran for non-fork PR builds.
Previously the TZI suite ran on all PR builds.
We have determined that these suites are unlikely to break for normal day-to-day changes, so by default they will now only run on master commits and Mono bump PRs.
As stated above, if you feel your change may be risky you can manually kick off a full test in the Pipelines UI.
Updates the regression test stage introduced in commit 47e00d7 to only
run when the mac_build stage completes successfully, as it depends
on artifacts produced by that stage.
Parallelize TimeZoneInfo tests
The TimeZoneInfo test suite has been split across 3 build nodes to reduce each run below the target of 1 hour. (Previously this step took over 2 hours.)1 parent 656085a commit 3e0b4da
File tree
3 files changed
+96
-56
lines changed- build-tools/automation
- yaml-templates
- tests/MSBuildDeviceIntegration/Tests
3 files changed
+96
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
819 | 825 | | |
820 | 826 | | |
821 | 827 | | |
822 | | - | |
| 828 | + | |
823 | 829 | | |
824 | 830 | | |
825 | 831 | | |
| |||
836 | 842 | | |
837 | 843 | | |
838 | 844 | | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | 845 | | |
885 | 846 | | |
886 | 847 | | |
| |||
984 | 945 | | |
985 | 946 | | |
986 | 947 | | |
987 | | - | |
| 948 | + | |
988 | 949 | | |
989 | 950 | | |
990 | 951 | | |
991 | 952 | | |
992 | | - | |
| 953 | + | |
993 | 954 | | |
994 | 955 | | |
995 | 956 | | |
| |||
1005 | 966 | | |
1006 | 967 | | |
1007 | 968 | | |
1008 | | - | |
| 969 | + | |
1009 | 970 | | |
1010 | 971 | | |
1011 | 972 | | |
| |||
1021 | 982 | | |
1022 | 983 | | |
1023 | 984 | | |
1024 | | - | |
| 985 | + | |
1025 | 986 | | |
1026 | 987 | | |
1027 | 988 | | |
| |||
1037 | 998 | | |
1038 | 999 | | |
1039 | 1000 | | |
1040 | | - | |
| 1001 | + | |
1041 | 1002 | | |
1042 | 1003 | | |
1043 | 1004 | | |
| |||
1059 | 1020 | | |
1060 | 1021 | | |
1061 | 1022 | | |
1062 | | - | |
| 1023 | + | |
1063 | 1024 | | |
1064 | 1025 | | |
1065 | 1026 | | |
| |||
1081 | 1042 | | |
1082 | 1043 | | |
1083 | 1044 | | |
1084 | | - | |
| 1045 | + | |
1085 | 1046 | | |
1086 | 1047 | | |
1087 | 1048 | | |
| |||
1100 | 1061 | | |
1101 | 1062 | | |
1102 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
200 | | - | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
204 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
205 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
206 | 223 | | |
207 | 224 | | |
208 | 225 | | |
| |||
0 commit comments