Skip to content

Commit ade095f

Browse files
committed
UPSTREAM: <carry>: Update group snapshot test rules
Update group snapshot test rules to be in sync with openshift-hack/e2e/annotate. We want group snapshot tests disabled only with csi-hostpath test driver. That one needs a special config - a chnage in the csi-hostpath CSI driver yaml files + a feature gate enabled. The others (namely csi-hostpath-groupsnapshot) should be enabled. That one has the yaml file change + [OCPFeatureGate:VolumeGroupSnapshot].
1 parent d365efd commit ade095f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

openshift-hack/cmd/k8s-tests-ext/disabled_tests.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func filterOutDisabledSpecs(specs et.ExtensionTestSpecs) et.ExtensionTestSpecs {
2626
"[Feature:RelaxedDNSSearchValidation]",
2727
"[Feature:PodLogsQuerySplitStreams]",
2828
"[Feature:PodLifecycleSleepActionAllowZero]",
29-
"[Feature:volumegroupsnapshot]",
3029
"[Feature:OrderedNamespaceDeletion]", // disabled Beta
3130
},
3231
// tests for features that are not implemented in openshift
@@ -68,6 +67,11 @@ func filterOutDisabledSpecs(specs et.ExtensionTestSpecs) et.ExtensionTestSpecs {
6867
// host. Enabling the test would result in the bastion being created for every parallel test execution.
6968
// Given that we have existing oc and WMCO tests that cover this functionality, we can safely disable it.
7069
"[Feature:NodeLogQuery]",
70+
71+
// volumegroupsnapshot in csi-hostpath tests requires changes in the test yaml files,
72+
// which are done by a script upstream. In OCP, we added a separate driver csi-hostpath-groupsnapshot,
73+
// that will not be skipped by any rule here.
74+
"[Driver: csi-hostpath] [Testpattern: (delete policy)] volumegroupsnapshottable [Feature:volumegroupsnapshot]",
7175
},
7276
// tests that are known broken and need to be fixed upstream or in openshift
7377
// always add an issue here

0 commit comments

Comments
 (0)