Skip to content

Commit

Permalink
NO-JIRA: Skip pods for ns openshift-infra
Browse files Browse the repository at this point in the history
  • Loading branch information
neisw committed Feb 9, 2025
1 parent d30b7e1 commit 5896188
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ func (w *terminationMessagePolicyChecker) CollectData(ctx context.Context, stora
if strings.HasPrefix(pod.Namespace, "openshift-must-gather") {
continue
}
// namespace does not show up consistently so we get
// 1 pass or flake out of 10 runs and fail due to not
// enough passes
if strings.HasPrefix(pod.Namespace, "openshift-infra") {
continue
}

if _, ok := failuresByNamespace[pod.Namespace]; !ok {
failuresByNamespace[pod.Namespace] = []string{}
}
Expand Down

0 comments on commit 5896188

Please sign in to comment.