Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestDropDisabledFields (0.36 sec)

  1. 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)
  2. 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)
Back to top