From 7dbc2a9ea864aeda77ae41628ed17b94cbae0df9 Mon Sep 17 00:00:00 2001 From: Sotiris Salloumis Date: Thu, 13 Jun 2024 16:02:41 +0200 Subject: [PATCH] pod-resize-scheduler-tests: fix ci-kubernetes-e2e-ec2 --- test/e2e/node/pod_resize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/node/pod_resize.go b/test/e2e/node/pod_resize.go index 3935b5e10fe..111423f5298 100644 --- a/test/e2e/node/pod_resize.go +++ b/test/e2e/node/pod_resize.go @@ -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())