Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NO-JIRA: Create an openshift/conformance/ocp-flaky test suite #29364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkg/testsuites/flaky.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package testsuites

// This file is not yet updated from an official query
var (
flakyTestNames = map[string]struct{}{
//`[sig-network][OCPFeatureGate:NetworkSegmentation][Feature:UserDefinedPrimaryNetworks] when using openshift ovn-kubernetes created using NetworkAttachmentDefinitions isolates overlapping CIDRs with L3 primary UDN [Suite:openshift/conformance/parallel]`: {},
}
)
19 changes: 19 additions & 0 deletions pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ var staticSuites = []ginkgo.TestSuite{
Only the portion of the openshift/conformance test suite that run in parallel.
`),
Matches: func(name string) bool {
_, isFlaky := flakyTestNames[name]
if isFlaky {
return false
}
if isDisabled(name) {
return false
}
Expand All @@ -56,6 +60,21 @@ var staticSuites = []ginkgo.TestSuite{
Parallelism: 30,
MaximumAllowedFlakes: 15,
},
{
Name: "openshift/conformance/ocp-flaky",
Description: templates.LongDesc(`
Our flaky tests plus the portion of the openshift/conformance test suite that run in parallel.
`),
// same as Matches from "openshift/conformance/parallel" without the flakyTestName check
Matches: func(name string) bool {
if isDisabled(name) {
return false
}
return strings.Contains(name, "[Suite:openshift/conformance/parallel")
},
Parallelism: 30,
MaximumAllowedFlakes: 0,
},
{
Name: "openshift/conformance/serial",
Description: templates.LongDesc(`
Expand Down