Enable group snapshot tests

e2e.test now requires CSI_PROW_ENABLE_GROUP_SNAPSHOT to be enabled to run
the csi-driver-hostpath tests with volume group snapshots.

See https://github.com/kubernetes/kubernetes/pull/134214/
This commit is contained in:
Jan Safranek 2025-11-03 17:49:27 +01:00
parent 321c1e37c0
commit 3e33e61968

View file

@ -272,7 +272,10 @@ run_tests() {
# PID, bash will not run traps while waiting on a process, but it will while
# running a builtin like `wait`, saving the PID also allows us to forward the
# interrupt
# Enable VolumeGroupSnapshot tests in csi-driver-hostpath
export CSI_PROW_ENABLE_GROUP_SNAPSHOT=true
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml || exit 1
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml || exit 1
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshots.yaml || exit 1