vsphere in-tree driver test fixes

This commit is contained in:
S R Ashrith 2022-08-17 14:43:05 +05:30
parent 1959fe1b94
commit 41dbdef540
2 changed files with 2 additions and 1 deletions

View File

@ -1253,6 +1253,7 @@ func InitVSphereDriver() storageframework.TestDriver {
storageframework.CapExec: true,
storageframework.CapMultiPODs: true,
storageframework.CapTopology: true,
storageframework.CapBlock: true,
},
},
}

View File

@ -746,7 +746,7 @@ func getCurrentTopologiesNumber(cs clientset.Interface, nodes *v1.NodeList, keys
break
}
}
if !found {
if !found && len(topo) > 0 {
framework.Logf("found topology %v", topo)
topos = append(topos, topo)
topoCount = append(topoCount, 1)