@@ -811,7 +811,7 @@ func TestSchedulerScheduleOne(t *testing.T) {
811
811
if err != nil {
812
812
t .Fatal (err )
813
813
}
814
- sched .scheduleOne (ctx )
814
+ sched .ScheduleOne (ctx )
815
815
<- called
816
816
if e , a := item .expectAssumedPod , gotAssumedPod ; ! reflect .DeepEqual (e , a ) {
817
817
t .Errorf ("assumed pod: wanted %v, got %v" , e , a )
@@ -884,7 +884,7 @@ func TestSchedulerNoPhantomPodAfterExpire(t *testing.T) {
884
884
// We use conflicted pod ports to incur fit predicate failure if first pod not removed.
885
885
secondPod := podWithPort ("bar" , "" , 8080 )
886
886
queuedPodStore .Add (secondPod )
887
- scheduler .scheduleOne (ctx )
887
+ scheduler .ScheduleOne (ctx )
888
888
select {
889
889
case b := <- bindingChan :
890
890
expectBinding := & v1.Binding {
@@ -921,7 +921,7 @@ func TestSchedulerNoPhantomPodAfterDelete(t *testing.T) {
921
921
// queuedPodStore: [bar:8080]
922
922
// cache: [(assumed)foo:8080]
923
923
924
- scheduler .scheduleOne (ctx )
924
+ scheduler .ScheduleOne (ctx )
925
925
select {
926
926
case err := <- errChan :
927
927
expectErr := & framework.FitError {
@@ -954,7 +954,7 @@ func TestSchedulerNoPhantomPodAfterDelete(t *testing.T) {
954
954
}
955
955
956
956
queuedPodStore .Add (secondPod )
957
- scheduler .scheduleOne (ctx )
957
+ scheduler .ScheduleOne (ctx )
958
958
select {
959
959
case b := <- bindingChan :
960
960
expectBinding := & v1.Binding {
@@ -1030,7 +1030,7 @@ func TestSchedulerFailedSchedulingReasons(t *testing.T) {
1030
1030
scheduler , _ , errChan := setupTestScheduler (ctx , t , queuedPodStore , scache , informerFactory , nil , fns ... )
1031
1031
1032
1032
queuedPodStore .Add (podWithTooBigResourceRequests )
1033
- scheduler .scheduleOne (ctx )
1033
+ scheduler .ScheduleOne (ctx )
1034
1034
select {
1035
1035
case err := <- errChan :
1036
1036
expectErr := & framework.FitError {
@@ -1160,7 +1160,7 @@ func TestSchedulerWithVolumeBinding(t *testing.T) {
1160
1160
if err != nil {
1161
1161
t .Fatal (err )
1162
1162
}
1163
- s .scheduleOne (ctx )
1163
+ s .ScheduleOne (ctx )
1164
1164
// Wait for pod to succeed or fail scheduling
1165
1165
select {
1166
1166
case <- eventChan :
@@ -3481,7 +3481,7 @@ func setupTestSchedulerWithOnePodOnNode(ctx context.Context, t *testing.T, queue
3481
3481
// queuedPodStore: [foo:8080]
3482
3482
// cache: []
3483
3483
3484
- scheduler .scheduleOne (ctx )
3484
+ scheduler .ScheduleOne (ctx )
3485
3485
// queuedPodStore: []
3486
3486
// cache: [(assumed)foo:8080]
3487
3487
0 commit comments