diff --git a/test/e2e_node/topology_manager_test.go b/test/e2e_node/topology_manager_test.go index d6cd39ebf54..50b97be6c5a 100644 --- a/test/e2e_node/topology_manager_test.go +++ b/test/e2e_node/topology_manager_test.go @@ -342,6 +342,12 @@ func runTopologyManagerPolicySuiteTests(f *framework.Framework) { cpuCap, cpuAlloc, _ = getLocalNodeCPUDetails(f) ginkgo.By(fmt.Sprintf("checking node CPU capacity (%d) and allocatable CPUs (%d)", cpuCap, cpuAlloc)) + // Albeit even the weakest CI machines usually have 2 cpus, let's be extra careful and + // check explicitly. We prefer to skip than a false negative (and a failed test). + if cpuAlloc < 1 { + e2eskipper.Skipf("Skipping basic CPU Manager tests since CPU capacity < 2") + } + ginkgo.By("running a non-Gu pod") runNonGuPodTest(f, cpuCap)