sonic-net / sonic-snmpagent

A net-snmpd agentx subagent for SONiC
Other
15 stars 113 forks source link

Add unit test for IfHighSpeed with PortChannel with no member ports #296

Closed liuh-80 closed 1 year ago

liuh-80 commented 1 year ago

Add unit test for IfHighSpeed with PortChannel with no member ports

Work item tracking

Microsoft ADO (number only): 25199873

- What I did Add new UT cover InterfaceMIBUpdater.get_high_speed(), this will fix issue: https://github.com/sonic-net/sonic-snmpagent/issues/294

- How I did it Add new UT and mock data to test InterfaceMIBUpdater.get_high_speed() with PortChannel with no member ports

- How to verify it Pass all UT

- Description for the changelog Add unit test of IfHighSpeed with PortChannel with no member ports