Skip to content

Commit 8e312d4

Browse files
committed
test: Create conformance parallel test suite
The sole existing test will be included in the test suite. For more information regarding test labels, see [1, 2] [1]: https://github.com/openshift/origin/tree/main/test/extended#test-labels [2]: Integration Guide for OpenShift Tests Extension
1 parent e21c93c commit 8e312d4

File tree

1 file changed

+8
-1
lines changed
  • cmd/cluster-version-operator-tests

1 file changed

+8
-1
lines changed

cmd/cluster-version-operator-tests/main.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,15 @@ func main() {
1717
registry := extension.NewRegistry()
1818
ext := extension.NewExtension("openshift", "payload", "cluster-version-operator")
1919

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

2431
specs, err := g.BuildExtensionTestSpecsFromOpenShiftGinkgoSuite()

0 commit comments

Comments
 (0)