- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestDropDisabledFields (0.34 sec)
-
pkg/api/persistentvolume/util_test.go
featuregatetesting "k8s.io/component-base/featuregate/testing" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/features" "k8s.io/utils/ptr" ) func TestDropDisabledFields(t *testing.T) { vacName := ptr.To("vac") tests := map[string]struct { oldSpec *api.PersistentVolumeSpec newSpec *api.PersistentVolumeSpec expectOldSpec *api.PersistentVolumeSpec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/strategy_test.go
t.Errorf("Validation failed when no validation should happen") } if tc.validation && !hasErrors { t.Errorf("Expected validation errors but didn't get any") } }) } } func TestDropDisabledFields(t *testing.T) { tests := map[string]struct { oldSpec *policy.PodDisruptionBudgetSpec newSpec *policy.PodDisruptionBudgetSpec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go
actual = validation.ValidateCustomResourceDefinitionUpdate(ctx, crd, oldCRD) } test.validateError(t, actual) }) } } // TestDropDisabledFields tests if the drop functionality is working fine or not with feature gate switch func TestDropDisabledFields(t *testing.T) { testCases := []struct { name string enableRatcheting bool enableSelectableFields bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 44.6K bytes - Viewed (0)