mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
update a test name and comment
This commit is contained in:
parent
2304806cbe
commit
afed31193b
@ -2651,8 +2651,8 @@ func (pl *SchedulingGatesPluginWOEvents) EventsToRegister() []framework.ClusterE
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// This test helps to verify registering nil events for schedulingGates plugin works as expected.
|
// This test helps to verify registering nil events for PreEnqueue plugin works as expected.
|
||||||
func TestSchedulingGatesPluginEventsToRegister(t *testing.T) {
|
func TestPreEnqueuePluginEventsToRegister(t *testing.T) {
|
||||||
testContext := testutils.InitTestAPIServer(t, "preenqueue-plugin", nil)
|
testContext := testutils.InitTestAPIServer(t, "preenqueue-plugin", nil)
|
||||||
|
|
||||||
num := func(pl framework.Plugin) int {
|
num := func(pl framework.Plugin) int {
|
||||||
|
Loading…
Reference in New Issue
Block a user