Skip to content

Commit

Permalink
pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2
Browse files Browse the repository at this point in the history
  • Loading branch information
esotsal committed Jun 26, 2024
1 parent fb7bbd2 commit 7dbc2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/node/pod_resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit 7dbc2a9

Please sign in to comment.