Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsCriticalPodBasedOnPriority (0.17 sec)

  1. pkg/kubelet/types/pod_update_test.go

    			priority: scheduling.HighestUserDefinablePriority,
    			expected: false,
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			actual := IsCriticalPodBasedOnPriority(test.priority)
    			if actual != test.expected {
    				t.Errorf("IsCriticalPodBased on priority should have returned %v for test %v but got %v", test.expected, test.name, actual)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 21 08:20:50 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top