Skip to content

Commit

Permalink
make it possible to mark tests as flaky and exclude them from normal …
Browse files Browse the repository at this point in the history
…runs
  • Loading branch information
deads2k committed Dec 11, 2024
1 parent 3310db1 commit dfcc589
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,25 @@ var staticSuites = []ginkgo.TestSuite{
if isDisabled(name) {
return false
}
return strings.Contains(name, "[Suite:openshift/conformance/parallel")
return strings.Contains(name, "[Suite:openshift/conformance/parallel") && !strings.Contains(name, "[OCPFlaky]")
},
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.
`),
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

0 comments on commit dfcc589

Please sign in to comment.