Skip to content

Commit a4b59a5

Browse files
author
Deepthi Dharwar
committed
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 <[email protected]>
1 parent fdb2cb4 commit a4b59a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/e2e_node/topology_manager_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ func findNUMANodeWithoutSRIOVDevicesFromSysfs(numaNodes int) (int, bool) {
170170
}
171171

172172
if len(pciPerNuma) == 0 {
173-
// if we got this far we already passed a rough check that SRIOV devices
174-
// are available in the box, so something is seriously wrong
175-
framework.Failf("failed to find any VF devices from %v", pciDevs)
173+
framework.Logf("failed to find any VF device from %v", pciDevs)
174+
return -1, false
176175
}
177176

178177
for nodeNum := 0; nodeNum < numaNodes; nodeNum++ {

0 commit comments

Comments
 (0)