1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 21:31:18 +01:00

refactor(TestFindDuplicatePods): drop unused variable

This commit is contained in:
Jan Chaloupka
2025-12-14 12:36:53 +01:00
parent 6f94e19385
commit 8f3c5f4978

View File

@@ -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