From 97f28319f319c83c2c4167455a8a014878ab68ff Mon Sep 17 00:00:00 2001 From: Chandan Maurya Date: Wed, 24 Jun 2026 13:06:08 +0530 Subject: [PATCH] OCPBUGS-91996: Add openshift/disruptive-longrunning testsuite in release-4.20 branch Co-authored-by: Cursor --- pkg/testsuites/standard_suites.go | 14 ++++++++++++++ test/extended/node/README.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 test/extended/node/README.md diff --git a/pkg/testsuites/standard_suites.go b/pkg/testsuites/standard_suites.go index 570fbc230dcb..5b126d4ca204 100644 --- a/pkg/testsuites/standard_suites.go +++ b/pkg/testsuites/standard_suites.go @@ -451,6 +451,20 @@ var staticSuites = []ginkgo.TestSuite{ }, TestTimeout: 1 * time.Minute, }, + { + 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 { diff --git a/test/extended/node/README.md b/test/extended/node/README.md new file mode 100644 index 000000000000..a2e73761c19e --- /dev/null +++ b/test/extended/node/README.md @@ -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