Skip to content

Commit 8bed5b3

Browse files
committed
NO-JIRA: Skip pods for ns openshift-infra
1 parent 1e0a837 commit 8bed5b3

File tree

1 file changed

+7
-0
lines changed
  • pkg/monitortests/clusterversionoperator/terminationmessagepolicy

1 file changed

+7
-0
lines changed

pkg/monitortests/clusterversionoperator/terminationmessagepolicy/monitortest.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ func (w *terminationMessagePolicyChecker) CollectData(ctx context.Context, stora
8989
if strings.HasPrefix(pod.Namespace, "openshift-must-gather") {
9090
continue
9191
}
92+
// namespace does not show up consistently so we get
93+
// 1 pass or flake out of 10 runs and fail due to not
94+
// enough passes
95+
if strings.HasPrefix(pod.Namespace, "openshift-infra") {
96+
continue
97+
}
98+
9299
if _, ok := failuresByNamespace[pod.Namespace]; !ok {
93100
failuresByNamespace[pod.Namespace] = []string{}
94101
}

0 commit comments

Comments
 (0)