mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
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:
parent
d4b49be81a
commit
60585da68f
@ -340,6 +340,7 @@ func runTopologyManagerPolicySuiteTests(f *framework.Framework) {
|
|||||||
var cpuCap, cpuAlloc int64
|
var cpuCap, cpuAlloc int64
|
||||||
|
|
||||||
cpuCap, cpuAlloc, _ = getLocalNodeCPUDetails(f)
|
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")
|
ginkgo.By("running a non-Gu pod")
|
||||||
runNonGuPodTest(f, cpuCap)
|
runNonGuPodTest(f, cpuCap)
|
||||||
|
Loading…
Reference in New Issue
Block a user