Skip to content

Commit 2829d67

Browse files
Merge pull request #28148 from soltysh/ocpbugs-16166
OCPBUGS-16166: disable 2 tests in preparation to land k8s 1.27.4
2 parents d9cf51f + 7131752 commit 2829d67

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pkg/test/ginkgo/test_suite.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package ginkgo
22

33
import (
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+
4861
var re = regexp.MustCompile(`.*\[Timeout:(.[^\]]*)\]`)
4962

5063
func newTestCaseFromGinkgoSpec(spec types.TestSpec) (*testCase, error) {

0 commit comments

Comments
 (0)