diff --git a/test/e2e/storage/csimock/csi_node_volume_health.go b/test/e2e/storage/csimock/csi_node_volume_health.go index 7eb11dcf31f..091c0e89955 100644 --- a/test/e2e/storage/csimock/csi_node_volume_health.go +++ b/test/e2e/storage/csimock/csi_node_volume_health.go @@ -93,7 +93,6 @@ var _ = utils.SIGDescribe("CSI Mock Node Volume Health", feature.CSIVolumeHealth for _, t := range tests { test := t ginkgo.It(test.name, func(ctx context.Context) { - // Hooks appear to be required for enableNodeVolumeStat. m.init(ctx, testParameters{ registerDriver: true, enableNodeVolumeCondition: test.nodeVolumeConditionRequired, diff --git a/test/e2e/storage/drivers/csi-test/mock/service/service.go b/test/e2e/storage/drivers/csi-test/mock/service/service.go index e6d65848ce4..17ad811ca74 100644 --- a/test/e2e/storage/drivers/csi-test/mock/service/service.go +++ b/test/e2e/storage/drivers/csi-test/mock/service/service.go @@ -55,7 +55,6 @@ type Config struct { DriverName string AttachLimit int64 NodeExpansionRequired bool - NodeVolumeStatRequired bool NodeVolumeConditionRequired bool VolumeMountGroupRequired bool DisableControllerExpansion bool diff --git a/test/e2e/storage/drivers/csi.go b/test/e2e/storage/drivers/csi.go index 977aa4a21af..8b4567af182 100644 --- a/test/e2e/storage/drivers/csi.go +++ b/test/e2e/storage/drivers/csi.go @@ -306,7 +306,6 @@ type mockCSIDriver struct { requiresRepublish *bool fsGroupPolicy *storagev1.FSGroupPolicy enableVolumeMountGroup bool - enableNodeVolumeStat bool enableNodeVolumeCondition bool embedded bool calls MockCSICalls @@ -356,7 +355,6 @@ type CSIMockDriverOpts struct { EnableNodeExpansion bool EnableSnapshot bool EnableVolumeMountGroup bool - EnableNodeVolumeStat bool EnableNodeVolumeCondition bool TokenRequests []storagev1.TokenRequest RequiresRepublish *bool @@ -589,7 +587,6 @@ func (m *mockCSIDriver) PrepareTest(ctx context.Context, f *framework.Framework) DriverName: "csi-mock-" + f.UniqueName, AttachLimit: int64(m.attachLimit), NodeExpansionRequired: m.enableNodeExpansion, - NodeVolumeStatRequired: m.enableNodeVolumeStat, NodeVolumeConditionRequired: m.enableNodeVolumeCondition, VolumeMountGroupRequired: m.enableVolumeMountGroup, EnableTopology: m.enableTopology,