From 8f3c5f4978d4aae7b00bbd25c2f3518759ebc180 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Sun, 14 Dec 2025 12:36:53 +0100 Subject: [PATCH] refactor(TestFindDuplicatePods): drop unused variable --- .../plugins/removeduplicates/removeduplicates_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/framework/plugins/removeduplicates/removeduplicates_test.go b/pkg/framework/plugins/removeduplicates/removeduplicates_test.go index 3da353e0c..237a9bfa1 100644 --- a/pkg/framework/plugins/removeduplicates/removeduplicates_test.go +++ b/pkg/framework/plugins/removeduplicates/removeduplicates_test.go @@ -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