Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestInvalidSelectors (0.13 sec)

  1. pkg/controller/disruption/disruption_test.go

    	}
    	if expected, actual := int32(0), finalPDB.Status.DisruptionsAllowed; expected != actual {
    		t.Errorf("DisruptionsAllowed should be %d, got %d", expected, actual)
    	}
    }
    
    func TestInvalidSelectors(t *testing.T) {
    	testCases := map[string]struct {
    		labelSelector *metav1.LabelSelector
    	}{
    		"illegal value key": {
    			labelSelector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top