File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -462,6 +462,20 @@ var staticSuites = []ginkgo.TestSuite{
462462 TestTimeout : 120 * time .Minute ,
463463 ClusterStabilityDuringTest : ginkgo .Disruptive ,
464464 },
465+ {
466+ Name : "openshift/disruptive-longrunning" ,
467+ Description : templates .LongDesc (`
468+ Long-running disruptive test suite. Tests in this suite are disruptive (cause node reboots,
469+ configuration changes, or cluster-wide disruptions) and take significant time to complete.
470+ Multiple teams can use this suite for their long-running disruptive tests.
471+ ` ),
472+ Qualifiers : []string {
473+ `name.contains("[Suite:openshift/disruptive-longrunning")` ,
474+ },
475+ Parallelism : 1 ,
476+ TestTimeout : 40 * time .Minute ,
477+ ClusterStabilityDuringTest : ginkgo .Disruptive ,
478+ },
465479}
466480
467481func withExcludedTestsFilter (baseExpr string ) string {
Original file line number Diff line number Diff line change 1+ # Node E2E Tests
2+
3+ ## Running Long-Running Disruptive Tests
4+
5+ The ` openshift/disruptive-longrunning ` suite is a general-purpose suite for long-running disruptive tests
6+ across all teams. Node team tests are tagged with ` [sig-node] ` to identify them.
7+
8+ To run the entire long-running disruptive test suite on a cluster manually, use the command:
9+
10+ ``` bash
11+ ./openshift-tests run " openshift/disruptive-longrunning" --cluster-stability=Disruptive
12+ ```
13+
14+ To run only node-specific long-running disruptive tests:
15+
16+ ``` bash
17+ ./openshift-tests run " openshift/disruptive-longrunning" --dry-run | grep " \[sig-node\]" | ./openshift-tests run -f - --cluster-stability=Disruptive
18+ ```
19+
20+ ## Prerequisites
21+
22+ - Make sure to set ` oc ` binary to match the cluster version
23+ - Make sure to set the kubeconfig to point to a live OCP cluster
24+
25+ ## Important Notes
26+
27+ - Note that dry-run option won't list the test as it does not connect to a live cluster
28+ - Run ` make update ` if the test data is changed
You can’t perform that action at this time.
0 commit comments