[202012] [Arista] Raise ValueError on thermal manager invalid fan speed (#8903)
Why I did it Vaibhav Dahiya notified me that invalid fan speed policy was expecting an error raised in sonic-mgmt testing, but it was not raised. This change will fix test_platform_info.py::test_thermal_control_load_invalid_value_json How I did it Add in the suggested code chunk to Arista platform submodule to raise ValueError when an invalid fan speed is set in thermal policy. How to verify it Vaibhav Dahiya has verified it through sonic-mgmt testing. Co-authored-by: Zhi Yuan (Carl) Zhao <zyzhao@arista.com>
This commit is contained in:
parent
d69564a1e7
commit
380ad2e8fc
@ -1 +1 @@
|
||||
Subproject commit 7304dbebdd80d7278abc6136e1df73190d405483
|
||||
Subproject commit cf36e513e41cd10a6d6aad5bcf71ef7871a2806d
|
@ -1 +1 @@
|
||||
Subproject commit 7304dbebdd80d7278abc6136e1df73190d405483
|
||||
Subproject commit cf36e513e41cd10a6d6aad5bcf71ef7871a2806d
|
Loading…
Reference in New Issue
Block a user