Merge pull request #125492 from Nordix/esotsal/123951

pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2
This commit is contained in:
Kubernetes Prow Robot 2024-06-26 14:13:48 -07:00 committed by GitHub
commit a3a4f9658b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1629,7 +1629,7 @@ func doPodResizeSchedulerTests() {
nodeAllocatableMilliCPU2, nodeAvailableMilliCPU2 := getNodeAllocatableAndAvailableMilliCPUValues(&node)
framework.Logf("TEST2: Node '%s': NodeAllocatable MilliCPUs = %dm. MilliCPUs currently available to allocate = %dm.",
node.Name, nodeAllocatableMilliCPU2, nodeAvailableMilliCPU2)
testPod3CPUQuantity := resource.NewMilliQuantity(nodeAvailableMilliCPU2+testPod1CPUQuantity.MilliValue()/2, resource.DecimalSI)
testPod3CPUQuantity := resource.NewMilliQuantity(nodeAvailableMilliCPU2+testPod1CPUQuantity.MilliValue()/4, resource.DecimalSI)
testPod1CPUQuantityResized := resource.NewMilliQuantity(testPod1CPUQuantity.MilliValue()/3, resource.DecimalSI)
framework.Logf("TEST2: testPod1 MilliCPUs after resize '%dm'", testPod1CPUQuantityResized.MilliValue())