From 8567eafa02a764fa8c955e42b46b71f93f91eebc Mon Sep 17 00:00:00 2001 From: Roman Bednar Date: Mon, 27 Feb 2023 10:37:02 +0100 Subject: [PATCH] add anti-capability to allow resize test skipping --- test/e2e/storage/framework/testdriver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/storage/framework/testdriver.go b/test/e2e/storage/framework/testdriver.go index 6614e8d0280..f3f2dab6159 100644 --- a/test/e2e/storage/framework/testdriver.go +++ b/test/e2e/storage/framework/testdriver.go @@ -185,6 +185,9 @@ const ( // capacity information for it. CapCapacity Capability = "capacity" + // Anti-capability for drivers that do not support filesystem resizing of PVCs that are cloned or restored from a snapshot. + CapFSResizeFromSourceNotSupported Capability = "FSResizeFromSourceNotSupported" + // To support ReadWriteOncePod, the following CSI sidecars must be // updated to these versions or greater: // - csi-provisioner:v3.0.0+