microsoft / Test-NetHLK

Validates the default IHV Adapter settings according to the MSFT definitions and Switch Requirements for Azure Stack HCI
MIT License
5 stars 13 forks source link

Fix comparisons in Test-NumericParameterMaxValue #2

Closed viktor-prutyanov closed 3 years ago

viktor-prutyanov commented 3 years ago

Make comparison of parameter max values numeric, not string.

It fixes erroneous fail when JumboPacket max value is 65500: [FAIL] *JumboPacket NumericParameterMaxValue is -ge 9014 Now it behaves correctly: [PASS] *JumboPacket NumericParameterMaxValue is -ge 9014

dcuomo commented 3 years ago

@viktor-prutyanov - Thanks for contributing!