From 3e33e61968ee9f6667ca46c36808d39d550bb497 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Mon, 3 Nov 2025 17:49:27 +0100 Subject: [PATCH] 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/ --- .../volume-group-snapshots/run_group_snapshot_e2e.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/run_group_snapshot_e2e.sh b/test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/run_group_snapshot_e2e.sh index da7a1de21c9..ca9fb022853 100755 --- a/test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/run_group_snapshot_e2e.sh +++ b/test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/run_group_snapshot_e2e.sh @@ -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