Skip to content

Commit e2dc31b

Browse files
committed
pkg/scheduler/framework/fake -> pkg/scheduler/testing/framework
1 parent f83d2a0 commit e2dc31b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/noderesources/allocatable_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ import (
2828
clientsetfake "k8s.io/client-go/kubernetes/fake"
2929
schedulerconfig "k8s.io/kubernetes/pkg/scheduler/apis/config"
3030
"k8s.io/kubernetes/pkg/scheduler/framework"
31-
fakeframework "k8s.io/kubernetes/pkg/scheduler/framework/fake"
3231
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/defaultbinder"
3332
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/queuesort"
3433
frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime"
3534
st "k8s.io/kubernetes/pkg/scheduler/testing"
35+
tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
3636

3737
"sigs.k8s.io/scheduler-plugins/apis/config"
3838
)
@@ -351,5 +351,5 @@ func (f *fakeSharedLister) StorageInfos() framework.StorageInfoLister {
351351
}
352352

353353
func (f *fakeSharedLister) NodeInfos() framework.NodeInfoLister {
354-
return fakeframework.NodeInfoLister(f.nodes)
354+
return tf.NodeInfoLister(f.nodes)
355355
}

pkg/podstate/pod_state_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ import (
3131
"k8s.io/klog/v2/ktesting"
3232

3333
"k8s.io/kubernetes/pkg/scheduler/framework"
34-
fakeframework "k8s.io/kubernetes/pkg/scheduler/framework/fake"
3534
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/defaultbinder"
3635
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/queuesort"
3736
frameworkruntime "k8s.io/kubernetes/pkg/scheduler/framework/runtime"
3837
st "k8s.io/kubernetes/pkg/scheduler/testing"
38+
tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
3939
testutil "sigs.k8s.io/scheduler-plugins/test/util"
4040
)
4141

@@ -203,5 +203,5 @@ func (f *fakeSharedLister) StorageInfos() framework.StorageInfoLister {
203203
}
204204

205205
func (f *fakeSharedLister) NodeInfos() framework.NodeInfoLister {
206-
return fakeframework.NodeInfoLister(f.nodes)
206+
return tf.NodeInfoLister(f.nodes)
207207
}

0 commit comments

Comments
 (0)