e2e: node: {cpu,top}omgr: report node capacity/allocatable

Make sure to log out the cpu capacity and allocatable for
the node running the tests, to make the troubleshooting
of test failures easier.

Signed-off-by: Francesco Romani <fromani@redhat.com>
This commit is contained in:
Francesco Romani 2022-02-02 13:48:00 +01:00
parent d4b49be81a
commit 60585da68f

View File

@ -340,6 +340,7 @@ func runTopologyManagerPolicySuiteTests(f *framework.Framework) {
var cpuCap, cpuAlloc int64
cpuCap, cpuAlloc, _ = getLocalNodeCPUDetails(f)
ginkgo.By(fmt.Sprintf("checking node CPU capacity (%d) and allocatable CPUs (%d)", cpuCap, cpuAlloc))
ginkgo.By("running a non-Gu pod")
runNonGuPodTest(f, cpuCap)