@@ -30,7 +30,7 @@ import (
30
30
"k8s.io/autoscaler/cluster-autoscaler/core/scaledown/resource"
31
31
"k8s.io/autoscaler/cluster-autoscaler/core/scaledown/status"
32
32
. "k8s.io/autoscaler/cluster-autoscaler/core/test"
33
- "k8s.io/autoscaler/cluster-autoscaler/processors/nodes"
33
+ nodeprocessors "k8s.io/autoscaler/cluster-autoscaler/processors/nodes"
34
34
"k8s.io/autoscaler/cluster-autoscaler/simulator"
35
35
"k8s.io/autoscaler/cluster-autoscaler/utils/kubernetes"
36
36
kube_util "k8s.io/autoscaler/cluster-autoscaler/utils/kubernetes"
@@ -205,7 +205,7 @@ func TestRemovableAt(t *testing.T) {
205
205
206
206
n := NewNodes (& fakeScaleDownTimeGetter {}, & resource.LimitsFinder {})
207
207
n .Update (removableNodes , time .Now ())
208
- gotEmptyToRemove , gotDrainToRemove , _ := n .RemovableAt (& ctx , nodes .ScaleDownContext {
208
+ gotEmptyToRemove , gotDrainToRemove , _ := n .RemovableAt (& ctx , nodeprocessors .ScaleDownContext {
209
209
ActuationStatus : as ,
210
210
ResourcesLeft : resource.Limits {},
211
211
ResourcesWithLimits : []string {},
@@ -218,7 +218,6 @@ func TestRemovableAt(t *testing.T) {
218
218
}
219
219
220
220
func TestNodeLoadFromExistingTaints (t * testing.T ) {
221
-
222
221
deletionCandidateTaint := taints .DeletionCandidateTaint ()
223
222
currentTime := time .Now ()
224
223
@@ -275,8 +274,6 @@ func TestNodeLoadFromExistingTaints(t *testing.T) {
275
274
t .Run (tc .name , func (t * testing.T ) {
276
275
t .Parallel ()
277
276
278
- currentTime = time .Now ()
279
-
280
277
nodes := NewNodes (nil , nil )
281
278
282
279
allNodeLister := kubernetes .NewTestNodeLister (nil )
0 commit comments