From 7004a718d95764e7812a91b11a8f7e9696f2f48b Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Wed, 2 Feb 2022 14:02:17 +0100 Subject: [PATCH] e2e: node: {cpu,topo}mgr: round up test requirement A cpu/topology manager e2e test wants to require one exclusive CPU and a share of CPU time; let's round up the allocatable CPU requirements (from 1 to 2) to reduce the chances of false negatives. Signed-off-by: Francesco Romani --- test/e2e_node/topology_manager_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e_node/topology_manager_test.go b/test/e2e_node/topology_manager_test.go index 50b97be6c5a..7784258845b 100644 --- a/test/e2e_node/topology_manager_test.go +++ b/test/e2e_node/topology_manager_test.go @@ -354,14 +354,14 @@ func runTopologyManagerPolicySuiteTests(f *framework.Framework) { ginkgo.By("running a Gu pod") runGuPodTest(f, 1) - ginkgo.By("running multiple Gu and non-Gu pods") - runMultipleGuNonGuPods(f, cpuCap, cpuAlloc) - // Skip rest of the tests if CPU allocatable < 3. if cpuAlloc < 3 { e2eskipper.Skipf("Skipping rest of the CPU Manager tests since CPU capacity < 3") } + ginkgo.By("running multiple Gu and non-Gu pods") + runMultipleGuNonGuPods(f, cpuCap, cpuAlloc) + ginkgo.By("running a Gu pod requesting multiple CPUs") runMultipleCPUGuPod(f)