File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
vertical-pod-autoscaler/pkg/recommender/logic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ func TestMinResourcesSplitAcrossContainers(t *testing.T) {
5959
6060 recommendedResources := recommender .GetRecommendedPodResources (containerNameToAggregateStateMap )
6161 assert .Equal (t , model .CPUAmountFromCores ((* podMinCPUMillicores / 1000 )/ 2 ), recommendedResources ["container-1" ].Target [model .ResourceCPU ])
62- assert .Equal (t , model .CPUAmountFromCores ((* podMinCPUMillicores / 1000 )/ 2 ), recommendedResources ["container-1 " ].Target [model .ResourceCPU ])
63- assert .Equal (t , model .MemoryAmountFromBytes ((* podMinMemoryMb * 1024 * 1024 )/ 2 ), recommendedResources ["container-2 " ].Target [model .ResourceMemory ])
62+ assert .Equal (t , model .CPUAmountFromCores ((* podMinCPUMillicores / 1000 )/ 2 ), recommendedResources ["container-2 " ].Target [model .ResourceCPU ])
63+ assert .Equal (t , model .MemoryAmountFromBytes ((* podMinMemoryMb * 1024 * 1024 )/ 2 ), recommendedResources ["container-1 " ].Target [model .ResourceMemory ])
6464 assert .Equal (t , model .MemoryAmountFromBytes ((* podMinMemoryMb * 1024 * 1024 )/ 2 ), recommendedResources ["container-2" ].Target [model .ResourceMemory ])
6565}
6666
You can’t perform that action at this time.
0 commit comments