mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
refactor(TestFindDuplicatePods): drop unused variable
This commit is contained in:
@@ -167,8 +167,6 @@ func TestFindDuplicatePods(t *testing.T) {
|
||||
"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
|
||||
p19 := test.BuildTestPod("CPU-eater", 150, 150, node6.Name, nil)
|
||||
@@ -182,8 +180,6 @@ func TestFindDuplicatePods(t *testing.T) {
|
||||
|
||||
// ### Non-evictable Pods ###
|
||||
|
||||
p18.ObjectMeta.OwnerReferences = ownerRef3
|
||||
|
||||
testCases := []struct {
|
||||
description string
|
||||
pods []*v1.Pod
|
||||
|
||||
Reference in New Issue
Block a user