@@ -133,11 +133,6 @@ func cleanupTestCase(t *testing.T, client *framework.ClientSet, defaultPlugins,
133
133
func TestPluginsCSPSinglePlugin (t * testing.T ) {
134
134
client , defaultPlugins := setupTestCase (t )
135
135
136
- isFeatureGateSet := framework .IsFeatureGateSet (t , client )
137
- if ! isFeatureGateSet {
138
- t .Skip ("Feature gate not set, skipping test" )
139
- }
140
-
141
136
defer cleanupTestCase (t , client , defaultPlugins , maps .Keys (pluginCSPSinglePlugin ))
142
137
143
138
for name , csp := range pluginCSPSinglePlugin {
@@ -150,11 +145,6 @@ func TestPluginsCSPSinglePlugin(t *testing.T) {
150
145
func TestPluginsCSPMultiplePluginsWithoutCSP (t * testing.T ) {
151
146
client , defaultPlugins := setupTestCase (t )
152
147
153
- isFeatureGateSet := framework .IsFeatureGateSet (t , client )
154
- if ! isFeatureGateSet {
155
- t .Skip ("Feature gate not set, skipping test" )
156
- }
157
-
158
148
defer cleanupTestCase (t , client , defaultPlugins , maps .Keys (pluginCSPMultiplePluginsWithoutCSP ))
159
149
160
150
for name , csp := range pluginCSPMultiplePluginsWithoutCSP {
@@ -167,11 +157,6 @@ func TestPluginsCSPMultiplePluginsWithoutCSP(t *testing.T) {
167
157
func TestPluginsCSPMultiplePlugins (t * testing.T ) {
168
158
client , defaultPlugins := setupTestCase (t )
169
159
170
- isFeatureGateSet := framework .IsFeatureGateSet (t , client )
171
- if ! isFeatureGateSet {
172
- t .Skip ("Feature gate not set, skipping test" )
173
- }
174
-
175
160
defer cleanupTestCase (t , client , defaultPlugins , maps .Keys (pluginCSPMultiplePlugins ))
176
161
177
162
for name , csp := range pluginCSPMultiplePlugins {
@@ -184,11 +169,6 @@ func TestPluginsCSPMultiplePlugins(t *testing.T) {
184
169
func TestPluginsCSPMultiplePluginsWithDuplicates (t * testing.T ) {
185
170
client , defaultPlugins := setupTestCase (t )
186
171
187
- isFeatureGateSet := framework .IsFeatureGateSet (t , client )
188
- if ! isFeatureGateSet {
189
- t .Skip ("Feature gate not set, skipping test" )
190
- }
191
-
192
172
defer cleanupTestCase (t , client , defaultPlugins , maps .Keys (pluginCSPMultiplePluginsWithDuplicates ))
193
173
194
174
for name , csp := range pluginCSPMultiplePluginsWithDuplicates {
@@ -200,11 +180,6 @@ func TestPluginsCSPMultiplePluginsWithDuplicates(t *testing.T) {
200
180
func TestPluginsCSPMultiplePluginsWithMutualExclusion (t * testing.T ) {
201
181
client , defaultPlugins := setupTestCase (t )
202
182
203
- isFeatureGateSet := framework .IsFeatureGateSet (t , client )
204
- if ! isFeatureGateSet {
205
- t .Skip ("Feature gate not set, skipping test" )
206
- }
207
-
208
183
defer cleanupTestCase (t , client , defaultPlugins , maps .Keys (pluginCSPMultiplePluginsWithMutualExclusion ))
209
184
210
185
for name , csp := range pluginCSPMultiplePluginsWithMutualExclusion {
0 commit comments