test: remove RetroactiveDefaultStorageClass feature gate

Since the feature is GA and locked to true, tests can no longer set it
to false. Cleaning up by removing all references to this feature gate
from tests.

Feature gate will be removed in v1.29.
This commit is contained in:
Roman Bednar
2023-06-07 14:26:13 +02:00
parent 97a81a59f6
commit 6afb363ca1
3 changed files with 32 additions and 78 deletions

View File

@@ -754,8 +754,6 @@ func TestModifyDeletionFinalizers(t *testing.T) {
}
func TestRetroactiveStorageClassAssignment(t *testing.T) {
// Enable RetroactiveDefaultStorageClass feature gate.
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.RetroactiveDefaultStorageClass, true)()
tests := []struct {
storageClasses []*storagev1.StorageClass
tests []controllerTest