From a4b59a5d7c1db76b7666c16e60318cf4954847ff Mon Sep 17 00:00:00 2001 From: Deepthi Dharwar Date: Mon, 2 Mar 2020 16:02:38 +0530 Subject: [PATCH] Currently SRIOV detection logic is reporting error if it fails to detect SRIOV device on the system. This patch aims to fix the same. Signed-off-by: Deepthi Dharwar --- test/e2e_node/topology_manager_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/e2e_node/topology_manager_test.go b/test/e2e_node/topology_manager_test.go index eb2ceb04430..151ed9c92b3 100644 --- a/test/e2e_node/topology_manager_test.go +++ b/test/e2e_node/topology_manager_test.go @@ -170,9 +170,8 @@ func findNUMANodeWithoutSRIOVDevicesFromSysfs(numaNodes int) (int, bool) { } if len(pciPerNuma) == 0 { - // if we got this far we already passed a rough check that SRIOV devices - // are available in the box, so something is seriously wrong - framework.Failf("failed to find any VF devices from %v", pciDevs) + framework.Logf("failed to find any VF device from %v", pciDevs) + return -1, false } for nodeNum := 0; nodeNum < numaNodes; nodeNum++ {