mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
vsphere in-tree driver test fixes
This commit is contained in:
parent
1959fe1b94
commit
41dbdef540
@ -1253,6 +1253,7 @@ func InitVSphereDriver() storageframework.TestDriver {
|
||||
storageframework.CapExec: true,
|
||||
storageframework.CapMultiPODs: true,
|
||||
storageframework.CapTopology: true,
|
||||
storageframework.CapBlock: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user