Skip to content
Open
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,20 @@ var staticSuites = []ginkgo.TestSuite{
TestTimeout: 120 * time.Minute,
ClusterStabilityDuringTest: ginkgo.Disruptive,
},
{
Name: "openshift/disruptive-longrunning",
Description: templates.LongDesc(`
Long-running disruptive test suite. Tests in this suite are disruptive (cause node reboots,
configuration changes, or cluster-wide disruptions) and take significant time to complete.
Multiple teams can use this suite for their long-running disruptive tests.
`),
Qualifiers: []string{
`name.contains("[Suite:openshift/disruptive-longrunning")`,
},
Parallelism: 1,
TestTimeout: 40 * time.Minute,
ClusterStabilityDuringTest: ginkgo.Disruptive,
},
}

func withExcludedTestsFilter(baseExpr string) string {
Expand Down
28 changes: 28 additions & 0 deletions test/extended/node/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Node E2E Tests

## Running Long-Running Disruptive Tests

The `openshift/disruptive-longrunning` suite is a general-purpose suite for long-running disruptive tests
across all teams. Node team tests are tagged with `[sig-node]` to identify them.

To run the entire long-running disruptive test suite on a cluster manually, use the command:

```bash
./openshift-tests run "openshift/disruptive-longrunning" --cluster-stability=Disruptive
```

To run only node-specific long-running disruptive tests:

```bash
./openshift-tests run "openshift/disruptive-longrunning" --dry-run | grep "\[sig-node\]" | ./openshift-tests run -f - --cluster-stability=Disruptive
```

## Prerequisites

- Make sure to set `oc` binary to match the cluster version
- Make sure to set the kubeconfig to point to a live OCP cluster

## Important Notes

- Note that dry-run option won't list the test as it does not connect to a live cluster
- Run `make update` if the test data is changed