Skip to content
Merged
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
18 changes: 17 additions & 1 deletion cmd/cluster-version-operator-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,24 @@ func main() {
registry := extension.NewRegistry()
ext := extension.NewExtension("openshift", "payload", "cluster-version-operator")

// Parallel tests must be able to run alongside any other test, and not be disruptive to the cluster’s normal operation.
// Tests should be as fast as possible; and less than 5 minutes in duration -- and typically much shorter.
// Longer tests need approval from the OCP architects.
ext.AddSuite(extension.Suite{
Name: "cluster-version-operator",
Name: "openshift/cluster-version-operator/conformance/parallel",
Parents: []string{"openshift/conformance/parallel"},
Qualifiers: []string{
`!(name.contains("[Serial]") || name.contains("[Slow]"))`,
},
})

// Serial tests run in isolation, however they must return the cluster to its original state upon exiting.
ext.AddSuite(extension.Suite{
Name: "openshift/cluster-version-operator/conformance/serial",
Parents: []string{"openshift/conformance/serial"},
Qualifiers: []string{
`name.contains("[Serial]")`,
},
})

specs, err := g.BuildExtensionTestSpecsFromOpenShiftGinkgoSuite()
Expand Down