Skip to content
Open
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
25 changes: 25 additions & 0 deletions pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,31 @@ func AllTestSuites(ctx context.Context) ([]*ginkgo.TestSuite, error) {

// staticSuites are all known test suites this binary should run
var staticSuites = []ginkgo.TestSuite{
{
Name: "openshift/stable",
Description: templates.LongDesc(`
Umbrella suite for stable, highly reliable component tests that run under
stable cluster conditions. All tests in this suite are expected to pass
consistently without flakes.
`),
Qualifiers: []string{
`labels.exists(l, l=="STABLE")`,
},
Parallelism: 30,
MaximumAllowedFlakes: 0,
ClusterStabilityDuringTest: ginkgo.Stable,
Comment on lines +117 to +122

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Exclude flaky tests from the stable suite.

The qualifier still includes build tests marked [Flaky]. MaximumAllowedFlakes: 0 only disables retries; it does not prevent those tests from running, contradicting the suite’s “without flakes” contract. Add an explicit flaky-test exclusion.

This repeats the prior review feedback that the stable suite must not contain flaky tests.

Proposed fix
 		Qualifiers: []string{
-			"name.contains('[Feature:Builds]')",
+			"name.contains('[Feature:Builds]') && !name.contains('[Flaky]')",
 		},
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pkg/testsuites/standard_suites.go` around lines 117 - 122, Add an explicit
qualifier to the stable suite configuration near the existing name qualifier so
tests marked [Flaky] are excluded, while preserving the current build-test
inclusion and MaximumAllowedFlakes setting. Update the Qualifiers used by the
standard suite definition.

},
{
Name: "openshift/active",
Description: templates.LongDesc(`
Umbrella suite for component suites that are actively being validated.
`),
Qualifiers: []string{
`labels.exists(l, l=="ACTIVE")`,
},
Parallelism: 30,
ClusterStabilityDuringTest: ginkgo.Stable,
},
{
Name: "openshift/conformance",
Description: templates.LongDesc(`
Expand Down