1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 13:29:11 +01:00

refactor(TestFindDuplicatePods): remove leftover comments

This commit is contained in:
Jan Chaloupka
2025-12-14 16:15:33 +01:00
parent 044f75dcec
commit 05b6d5e343

View File

@@ -78,26 +78,6 @@ func buildTestPodWithRSOwnerRefWithNamespaceForNode1(name, namespace string, app
}
func TestFindDuplicatePods(t *testing.T) {
// first setup pods
// Three Pods in the "dev" Namespace, bound to same ReplicaSet. 2 should be evicted.
// A DaemonSet.
// A Pod with local storage.
// A Mirror Pod.
// A Critical Pod.
// Three Pods in the "test" Namespace, bound to same ReplicaSet. 2 should be evicted.
// Same owners, but different images
// Multiple containers
// ### Pods Evictable Based On Node Fit ###
// This pod sits on node6 and is used to take up CPU requests on the node
// Dummy pod for node6 used to do the opposite of p19
// ### Evictable Pods ###
// ### Non-evictable Pods ###
testCases := []struct {
description string
pods []*v1.Pod