Remove enableNonPreempting field from scheduler codebase

This commit is contained in:
Wei Huang
2020-05-08 16:47:30 -07:00
parent 13010d199c
commit e283e73994
8 changed files with 10 additions and 31 deletions

View File

@@ -600,8 +600,7 @@ func TestGenericSchedulerWithExtenders(t *testing.T) {
informerFactory.Core().V1().PersistentVolumeClaims().Lister(),
informerFactory.Policy().V1beta1().PodDisruptionBudgets().Lister(),
false,
schedulerapi.DefaultPercentageOfNodesToScore,
false)
schedulerapi.DefaultPercentageOfNodesToScore)
podIgnored := &v1.Pod{}
result, err := scheduler.Schedule(context.Background(), prof, framework.NewCycleState(), podIgnored)
if test.expectsErr {