set actual podToMake values

This commit is contained in:
reinka 2024-02-25 19:27:39 +01:00 committed by Andrei Poehlmann
parent 2fa02552eb
commit 0f083966a7

View File

@ -397,8 +397,8 @@ func TestPIDPressure_VerifyPodStatus(t *testing.T) {
podMaker := makePodWithPIDStats
summaryStatsMaker := makePIDStats
podsToMake := []podToMake{
{},
{},
{name: "pod1", priority: lowPriority, pidUsage: 500},
{name: "pod2", priority: defaultPriority, pidUsage: 500},
}
pods := []*v1.Pod{}
podStats := map[*v1.Pod]statsapi.PodStats{}