Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidatePriorityClassUpdate (0.32 sec)

  1. pkg/apis/scheduling/validation/validation_test.go

    		},
    	}
    
    	for k, v := range errorCases {
    		if errs := ValidatePriorityClass(&v); len(errs) == 0 {
    			t.Errorf("Expected error for %s, but it succeeded", k)
    		}
    	}
    }
    
    func TestValidatePriorityClassUpdate(t *testing.T) {
    	preemptLowerPriority := core.PreemptLowerPriority
    	preemptNever := core.PreemptNever
    
    	old := scheduling.PriorityClass{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 07:30:47 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top