File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -237,16 +237,34 @@ var _ = g.Describe("[sig-cluster-lifecycle][Feature:Machines][Serial] Managed cl
237
237
g .AfterEach (func () {
238
238
helper .DeleteAllExtraWorkers ()
239
239
240
+ except := func (co string ) string {
241
+ switch co {
242
+ case "network" :
243
+ return "https://issues.redhat.com/browse/OCPBUGS-TODO"
244
+ case "image-registry" :
245
+ return "https://issues.redhat.com/browse/OCPBUGS-TODO"
246
+ case "node-tuning" :
247
+ return "https://issues.redhat.com/browse/OCPBUGS-TODO"
248
+ case "storage" :
249
+ return "https://issues.redhat.com/browse/OCPBUGS-TODO"
250
+ case "dns" :
251
+ return "https://issues.redhat.com/browse/OCPBUGS-TODO"
252
+ default :
253
+ return ""
254
+ }
255
+ }
256
+
240
257
// No cluster operator should leave Progressing=False only up to cluster scaling
241
258
// https://github.com/openshift/api/blob/61248d910ff74aef020492922d14e6dadaba598b/config/v1/types_cluster_operator.go#L163-L164
242
259
operatorsNotProgressingAfter := getOperatorsNotProgressing (configClient )
243
260
var violations []string
244
261
for operator , t1 := range operatorsNotProgressing {
245
262
t2 , ok := operatorsNotProgressingAfter [operator ]
246
- if ! ok || t1 .Unix () != t2 .Unix () {
263
+ if reason := except ( operator ); reason == "" && ( ! ok || t1 .Unix () != t2 .Unix () ) {
247
264
violations = append (violations , operator )
248
265
}
249
266
}
267
+
250
268
o .Expect (violations ).To (o .BeEmpty (), "those cluster operators left Progressing=False while cluster was scaling: %v" , violations )
251
269
})
252
270
You can’t perform that action at this time.
0 commit comments