We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46468a commit 0f4973fCopy full SHA for 0f4973f
1 file changed
pkg/cvo/cvo_featuregates_test.go
@@ -174,18 +174,3 @@ func TestOperator_updateEnabledFeatureGates(t *testing.T) {
174
})
175
}
176
177
-
178
-func TestOperator_initializeFeatureGates(t *testing.T) {
179
- // This test would require mocking the featureGateLister
180
- // For now, test that the method doesn't panic and initializes empty set
181
- optr := &Operator{
182
- enabledManifestFeatureGates: sets.New[string]("should-be-cleared"),
183
- }
184
185
- optr.initializeFeatureGates()
186
187
- result := optr.getEnabledFeatureGates()
188
- if result.Len() != 0 {
189
- t.Error("initializeFeatureGates() should initialize with empty set when lister not available")
190
191
-}
0 commit comments