mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 14:41:10 +01:00
refactor(TestFindDuplicatePods): drop unused variable
This commit is contained in:
@@ -167,8 +167,6 @@ func TestFindDuplicatePods(t *testing.T) {
|
|||||||
"datacenter": "west",
|
"datacenter": "west",
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
p18 := test.BuildTestPod("TARGET", 100, 0, node1.Name, nil)
|
|
||||||
p18.Namespace = "node-fit"
|
|
||||||
|
|
||||||
// This pod sits on node6 and is used to take up CPU requests on the node
|
// This pod sits on node6 and is used to take up CPU requests on the node
|
||||||
p19 := test.BuildTestPod("CPU-eater", 150, 150, node6.Name, nil)
|
p19 := test.BuildTestPod("CPU-eater", 150, 150, node6.Name, nil)
|
||||||
@@ -182,8 +180,6 @@ func TestFindDuplicatePods(t *testing.T) {
|
|||||||
|
|
||||||
// ### Non-evictable Pods ###
|
// ### Non-evictable Pods ###
|
||||||
|
|
||||||
p18.ObjectMeta.OwnerReferences = ownerRef3
|
|
||||||
|
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
description string
|
description string
|
||||||
pods []*v1.Pod
|
pods []*v1.Pod
|
||||||
|
|||||||
Reference in New Issue
Block a user