@@ -100,8 +100,9 @@ func TestTrybots(t *testing.T) {
100
100
"linux-amd64-race" ,
101
101
"linux-arm64" ,
102
102
"openbsd-amd64-72" ,
103
- "windows-386-2016" ,
104
- "windows-amd64-2016" ,
103
+ // Stopped.
104
+ //"windows-386-2016",
105
+ //"windows-amd64-2016",
105
106
},
106
107
},
107
108
{
@@ -115,14 +116,16 @@ func TestTrybots(t *testing.T) {
115
116
"linux-amd64-race" ,
116
117
"linux-arm64" ,
117
118
"openbsd-amd64-72" ,
118
- "windows-386-2016" ,
119
- "windows-amd64-2016" ,
119
+ // Stopped.
120
+ //"windows-386-2016",
121
+ //"windows-amd64-2016",
120
122
121
123
// Include longtest builders on Go repo release branches. See issue 37827.
122
124
"linux-386-longtest" ,
123
125
"linux-amd64-longtest" ,
124
126
"linux-arm64-longtest" ,
125
- "windows-amd64-longtest" ,
127
+ // Stopped.
128
+ //"windows-amd64-longtest",
126
129
},
127
130
},
128
131
{
@@ -136,14 +139,16 @@ func TestTrybots(t *testing.T) {
136
139
"linux-amd64-race" ,
137
140
"linux-arm64" ,
138
141
"openbsd-amd64-72" ,
139
- "windows-386-2016" ,
140
- "windows-amd64-2016" ,
142
+ // Stopped.
143
+ //"windows-386-2016",
144
+ //"windows-amd64-2016",
141
145
142
146
// Include longtest builders on Go repo release branches. See issue 37827.
143
147
"linux-386-longtest" ,
144
148
"linux-amd64-longtest" ,
145
149
"linux-arm64-longtest" ,
146
- "windows-amd64-longtest" ,
150
+ // Stopped.
151
+ //"windows-amd64-longtest",
147
152
},
148
153
},
149
154
{
@@ -171,8 +176,9 @@ func TestTrybots(t *testing.T) {
171
176
"netbsd-amd64-9_3" ,
172
177
"openbsd-386-72" ,
173
178
"openbsd-amd64-72" ,
174
- "windows-386-2016" ,
175
- "windows-amd64-2016" ,
179
+ // Stopped.
180
+ //"windows-386-2016",
181
+ //"windows-amd64-2016",
176
182
},
177
183
},
178
184
{
@@ -181,7 +187,8 @@ func TestTrybots(t *testing.T) {
181
187
want : []string {
182
188
"linux-amd64" ,
183
189
"linux-amd64-race" ,
184
- "windows-amd64-2016" ,
190
+ // Stopped.
191
+ //"windows-amd64-2016",
185
192
},
186
193
},
187
194
{
@@ -669,7 +676,11 @@ func TestBuilderConfig(t *testing.T) {
669
676
670
677
gotTry := bc .BuildsRepoTryBot (tt .br .repo , tt .br .branch , tt .br .goBranch )
671
678
if tt .want & isTrybot != 0 && ! gotTry {
672
- t .Errorf ("not trybot, but expected" )
679
+ if stopped := migration .BuildersPortedToLUCI [bc .Name ] && migration .StopPortedBuilder (bc .Name ); stopped {
680
+ t .Logf ("not a trybot builder because it's intentionally stopped" )
681
+ } else {
682
+ t .Errorf ("not trybot, but expected" )
683
+ }
673
684
}
674
685
if tt .want & notTrybot != 0 && gotTry {
675
686
t .Errorf ("unexpectedly a trybot" )
0 commit comments