File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package ginkgo
22
33import (
44 "regexp"
5+ "strings"
56 "time"
67
78 "github.com/onsi/ginkgo/v2"
@@ -33,6 +34,9 @@ func testsForSuite() ([]*testCase, error) {
3334 if append , ok := k8sgenerated .Annotations [name ]; ok {
3435 spec .AppendText (append )
3536 }
37+ if append := extras (name ); len (append ) > 0 {
38+ spec .AppendText (append )
39+ }
3640 tc , err := newTestCaseFromGinkgoSpec (spec )
3741 if err != nil {
3842 errs = append (errs , err )
@@ -45,6 +49,15 @@ func testsForSuite() ([]*testCase, error) {
4549 return tests , nil
4650}
4751
52+ func extras (name string ) string {
53+ // https://issues.redhat.com/browse/OCPBUGS-16166
54+ if strings .Contains (name , "[Feature:StatefulSetStartOrdinal]" ) ||
55+ strings .Contains (name , "Daemon set [Serial] should rollback without unnecessary restarts" ) {
56+ return " [Disabled:Broken]"
57+ }
58+ return ""
59+ }
60+
4861var re = regexp .MustCompile (`.*\[Timeout:(.[^\]]*)\]` )
4962
5063func newTestCaseFromGinkgoSpec (spec types.TestSpec ) (* testCase , error ) {
You can’t perform that action at this time.
0 commit comments