Merge pull request #112028 from dengyufeng2206/test2508
fix several typos under scheduler framework
This commit is contained in:
commit
5fe1450ba7
@ -187,7 +187,7 @@ func (pl *VolumeZone) EventsToRegister() []framework.ClusterEvent {
|
|||||||
// A new pvc may make a pod schedulable.
|
// A new pvc may make a pod schedulable.
|
||||||
// Due to fields are immutable except `spec.resources`, pvc update events are ignored.
|
// Due to fields are immutable except `spec.resources`, pvc update events are ignored.
|
||||||
{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add},
|
{Resource: framework.PersistentVolumeClaim, ActionType: framework.Add},
|
||||||
// A new pv or updating a pv's volume zone labels may make a pod shedulable.
|
// A new pv or updating a pv's volume zone labels may make a pod schedulable.
|
||||||
{Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update},
|
{Resource: framework.PersistentVolume, ActionType: framework.Add | framework.Update},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1708,7 +1708,7 @@ func TestPreBindPlugins(t *testing.T) {
|
|||||||
wantStatus: nil,
|
wantStatus: nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "UnshedulablePreBindPlugin",
|
name: "UnschedulablePreBindPlugin",
|
||||||
plugins: []*TestPlugin{
|
plugins: []*TestPlugin{
|
||||||
{
|
{
|
||||||
name: "TestPlugin",
|
name: "TestPlugin",
|
||||||
@ -1866,7 +1866,7 @@ func TestReservePlugins(t *testing.T) {
|
|||||||
wantStatus: nil,
|
wantStatus: nil,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "UnshedulableReservePlugin",
|
name: "UnschedulableReservePlugin",
|
||||||
plugins: []*TestPlugin{
|
plugins: []*TestPlugin{
|
||||||
{
|
{
|
||||||
name: "TestPlugin",
|
name: "TestPlugin",
|
||||||
|
Loading…
Reference in New Issue
Block a user