Closed mlguerrero12 closed 5 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/sriov/sriov.go | 4 | 8 | 50.0% | ||
<!-- | Total: | 37 | 41 | 90.24% | --> |
Totals | |
---|---|
Change from base Build 8835333415: | 2.1% |
Covered Lines: | 632 |
Relevant Lines: | 1275 |
great work!
please just extend a bit more our unit test to cover all the cases related to vlans
*conf.Vlan, *conf.VlanQoS, sriovtypes.VlanProtoInt[*conf.VlanProto]
to be sure we call the function when needed (vlan is not empty)
Thanks @SchSeba .
There are many cases related to vlan in config_test.go. Regarding the calling of the function, yes, there is one missing case, so I added unit tests for ApplyVFConfig which covers all optional parameters.
@Eoghan1232, @e0ne, please have a look
Hi @adrianchiris, could you please have a look at this? Thanks!
working my way through my emails now, so getting around to the PR's
Fixes https://github.com/k8snetworkplumbingwg/sriov-cni/issues/291