Add fail_on_err=0 To Run_IPMI_Standard_Command When Expecting Error
Add fail_on_err=0 To Run_IPMI_Standard_Command in line 58
in test_get_bios_post_code.robot in order to prevent test case
failure when expecting an error response code
Signed-off-by: Lee Tarlton <leet@ami.com>
Change-Id: Ie7f21bbe71ffbb7650e17c8a063b121ffdf4e96e
diff --git a/ipmi/test_get_bios_post_code.robot b/ipmi/test_get_bios_post_code.robot
index 39cc0f8..7d81702 100644
--- a/ipmi/test_get_bios_post_code.robot
+++ b/ipmi/test_get_bios_post_code.robot
@@ -55,7 +55,7 @@
Sleep ${power_state_change}
Should Contain ${resp} Chassis Power Control: Down/Off
- ${resp}= Run IPMI Standard Command raw ${IPMI_RAW_CMD['BIOS_POST_Code']['Get'][0]}
+ ${resp}= Run IPMI Standard Command raw ${IPMI_RAW_CMD['BIOS_POST_Code']['Get'][0]} fail_on_err=0
Should Contain ${resp} ${IPMI_RAW_CMD['BIOS_POST_Code']['Get'][3]}
# Turn host back on.